If you want to trigger an AhoyTeam workflow when something specific happens in your own app, or other third-party tools you use and don't want to / can't use Zapier for it, this is the right solution for you. Trigger with Webhooks.

What you'll find in this article:

  • Step by step manual on how to create a Webhook trigger

  • How to send a response to a Webhook URL

Step by step manual on how to create a Webhook trigger:

1. Start by creating a Trigger the same way as usual in Triggers > + Add New Trigger

2. Once you fill out all the information like Trigger name, what template to use, and who you want to assign, you can go and configure how this Trigger will be triggered. As you can see in the screenshot below, you can select "Trigger by webhook"

3. Custom Webhook URL will be generated once you successfully create Trigger by clicking the button "Create trigger" at the bottom right of the modal.

4. Right after you create the Trigger, a success message will show up with a unique Webhook URL for this specific Trigger.

5. You can access this URL anytime later by editing the active Trigger (Simply by clicking on the trigger you want to edit in the list view)

How to send a response to a Webhook URL

Once you have a unique Webhook URL for your trigger, configuring the request to this URL is fairly simple.

We enable to respond to webhook URL with an empty body by default.

Test the webhook first

We use Reqbin.com to quickly test if the Webhook trigger works before implementing your own app.

Just paste the URL and set a method to POST. And once you click "send'' it should launch the trigger.

CURL command example:

curl -X POST https://production.ahoyteam-api.com/webhooks/flow_trigger/1/ABC@33

If you need help with implementing the webhook request in your app, please reach out to us at eng@ahoyteam.com

Did this answer your question?