In this documentation, you'll learn everything regarding how to receive data using webhooks in Autonami.
How to get a webhook URL?
Here’s how you can use Autonami to get the webhook URL.
Step 1: Create a new automation
Click on Add New automation.
Enter the name of your new automation and hit Add.
Step 2: Click on Select An Event
Now, select the event - Webhook received in Autonami.
Step 3: Copy the custom webhook URL
This is how you can get your webhook URL in Autonami.
How to receive webhook data?
Once you’ve successfully sent the data through the webhook, here’s the step-by-step instructions on how to receive it.
Step #1: Click on Test Webhook
Your data will successfully be fetched here.
Step #2: Map your Email field
As you can see in this example, we have fetched three fields: Email, First Name and Last Name of our customers.
Now that we have successfully received the data, we can perform various Actions within Autonami.
How to use webhook data in automation?
Here is an example, we will be creating a user from the webhook data that we received.
Follow the instructions below to create a user using the webhook data:
Step #1: Select an action - Create User
Once done, click on Continue.
Step #2: Enter the field from the webhook data
Click on Merge tags.
Select your webhook data fields and click on Copy to clipboard.
Now, paste the merge tags into the respective fields.
Choose the WordPress role you want to assign and turn on the toggle to make this automation live.
That’s it! You have successfully created a user on your source site from the webhook data received from another application.
This is how you can receive information from another application using Autonami webhooks.