TIL how to trigger a Workflow from an app and wanted to share it with anyone else who may also be stumped.
-
In your Workflow, set your Start Trigger to "Webhook" (docs on Workflow Webhooks here)
-
In your app, create a REST API query to POST to the url provided in the "Example cURL" field of the Webhook.
That's it If you want to trigger a Workflow on success of another query run, for example, you can add a Success handler to that query and run this REST API query we just made.
Let us know if you have any questions about this!