Human-in-the-loop
Human-in-the-loop
Feature Still in Development
This feature has not yet reached General Availability, so it will likely continue to change as the Glide team makes improvements. This document will be updated as the feature becomes finalized.
Human-in-the-loop is a concept in software development that adds a human touchpoint to an otherwise automated process being performed by AI and machine learning systems. Creating Human-in-the-loop actions in Glide requires an element of human interaction before a workflow can continue to the next step. In this way you can create human oversight on any workflow, at any point you choose.
Understanding Human-in-the-loop Action Steps
To add a Human-in-the-loop function to your workflow, you need to add two action steps. They are:
How the human receives and interacts with the link is up to you. You could send it via the native Glide Send Email action or use any of Glide’s Integrations that send emails, text messages, and more to users that you choose.
Adding Human-in-the-loop to a Workflow
Creating a link to the loop
First we need to create the link to send to the human.
In the Data Editor, create a URL column to store the links that will be sent to the human.
In the Workflow Editor, select the workflow you want to add the action to.
Sending the link to a human
Now we need to send the link we generated to a human. For this example we’ll use Glide’s Send Email action, but you could use any action that allows you to send a custom message to a user.
Fill in the fields as needed. You can use a custom value so the text of the email is always the same, or you can us AI or template columns to generate dynamic email text. Review the full Send email action setup here.
Waiting for the human to respond
Now we tell the workflow to wait for the human to respond before continuing to the next step.
Using Slack for Human-in-the-loop
Connecting Your Slack Workspace to Glide
If you have not yet connected your Slack workspace to Glide, you’ll need to do that first. If you’ve already done this to use the Slack integration, you may need to reauthenticate.
Choose which Slack workspace you want to connect with Glide. You can change this in the upper right hand corner.
- Note: Only workspace owners can add the Glide app to a Slack workspace.
In the Glide settings, choose a name for you bot. If left blank, the name will be the name of your app.
Setting up the Slack for Human-in-the-loop
Once you have the Slack integration configured for your app, you can also use the Ask a user to choose an option action to create a Human-in-the-loop motion in your workflows.
Specify the Channel ID where the Glide bot will post the question.
- Note: You must add the Glide app to the channel in Slack. You can do this in the Slack channel settings, under Automations → Apps.