Design a workflow
Last updated
Last updated
To add a new workflow for your app:
In the App Editor, access the Workflow section
On the left sidebar, click + button
Every workflow needs its trigger to know when it should start.
To set up the trigger for a workflow, click on "Execute this workflow when...".
There are 3 types of triggers:
On scheduled: plan your workflow to run Every day or on the specific day(s) in a week, at a specific time with the configuration of timezone.
Manual triggered: in this case, you can use the workflow as an action when tapping on a button in the app. You configure the parameters and then go to the action settings to link it with a button.
By an update in the Alloy Table: let the workflow automatically run when there is a new row added, or when a row is edited or deleted in an Alloy Table of your app.
Now you decide how the workflow works.
Under the trigger, click the + button to add a new action. Then, look at the right sidebar, you can see the list of actions you can set as the consequence of the trigger.
There are 2 types of actions: Utilities and Integrations with External services.
Utilities are internal actions that help control the flow or perform tasks within AppAlloy:
Wait: Pause the workflow for a specified duration before proceeding to the next action.
Send HTTP Request: Perform an HTTP request to external URLs using methods like GET, POST, or PUT.
Paths: Split the workflow into multiple conditional paths based on predefined criteria, allowing different actions to be executed depending on the result.
Integrations with External Services: AppAlloy supports integrations with various third-party services, enabling actions to be executed with those services, such as
Slack to send a message or notification to a specified Slack channel
Gmail to send an email using a pre-configured Gmail account.
These actions provide flexibility to build automated workflows, whether you're managing internal processes or interacting with external tools. After adding the necessary actions, configure them further by setting the parameters in the sidebar.
After building the triggers and actions, click the Save button located in the top-right corner to activate the workflow.
This ensures that your workflow is live and ready to execute whenever the defined trigger conditions are met.
Once the workflow is saved, any subsequent changes to triggers or actions will also require you to click the Save button again.
This step is essential to ensure that all updates are applied, and the workflow functions as expected during its next execution within the app. Without saving, your changes will not take effect.