Prerequisites
- Completion of the steps in Configure workflow
- Your workflow loaded in the Workflow Editor
Review your workflow
The Workflow Builder generates a complete YAML automation script and opens it in the Workflow Editor for review. Here, you can make any additional edits before compiling and deploying.Compile your workflow
Use the Compile button to validate your workflow schema. This performs a syntax check that ensures your workflow structure is correct. Schema validation must pass for the workflow to run. A successful compile displays the message: “Workflow verified - Workflow has been successfully verified and compiled.”Review logs and validation
You can use the Console Logs tab under workflow information to view all logs and debug any issues.Save your workflow
Once everything is working correctly, select Save Workflow. When you select Save Workflow, your wallet window pops up. Here, you approve the save transaction. This is part of signing your intent to create the workflow, which creates an immutable record on-chain.Deploy your workflow
Once your workflow is saved, select Deploy to submit it to the Kwala network. After deployment, your workflow is live on the network and will begin monitoring for trigger conditions.Activate your workflow
Once you’ve deployed your workflow, you need to activate it to start execution and enable trigger monitoring. When you select Activate, your wallet window pops up. Approve the transaction to confirm activation. Once the transaction is confirmed, your workflow begins monitoring for trigger conditions and will execute when those conditions are met. After activating your workflow, you can check the Console Logs for status updates. You’ll see messages such as:- Starting automatic status polling
- Trigger updates
- Initializing actions
- Actions deployed
You may notice some deduction in Kwala credits associated with deploying and activating your workflow onchain. These credits cover the cost of registering your workflow and enabling trigger monitoring on the network.
