You may not have thought of it this way before, but opening a Form is a type of action. Open Link and Show Form Screen are examples of native Glide Actions. In other words, they trigger things that happen in your app. But you can also integrate third party Integrations like Slack, Outlook, or OpenAI into Glide and trigger messages, emails, generated text, and much more.
As you can see in the image above, it's possible to manually add actions to components. However, Glide also has an Action Editor that lets you save and reuse actions and combine them into more complex workflows.
Navigate to the Action Editor by clicking the Actions icon on the top bar's right side.
If your app already has actions or you've created actions in the Layout Editor, they will automatically be listed in the left sidebar. Clicking on an action will load it in the Action Editor on the right.
To create a new action, click the plus (+) icon in the top left corner. Glide will prompt you to choose a data source table for your Action.
The data source you choose for an action determines which screens you can use that action on.
For instance, suppose you want to create an action where a user can tap a button on an inventory item and automatically send an email to an admin. The email should indicate that the stock level is low and include the current stock level.
For this particular action to work, it needs to know what stock item it is and the current stock level. So this action must be made with the Inventory table as the source.
This also means that this action cannot be triggered on a screen that has a different table. For example, it would not make sense to trigger this action on a Team Member’s profile.
This means that although actions are reusable, they are only reusable on screens that have the same data source.
Once you create an action, you can reuse it across your app so long as any other screen(s) where you use it share the same data source as the original action.
You can have single step actions, or you can have multi-step actions. This means multiple things will happen when your action is triggered.
To add new actions to the flow, hover just underneath an action and click the plus (+) button.
To edit actions, click on the action.
To re-order actions, click and drag the action.