Thrive Automator gives you endless possibilities to connect to various services, using the Incoming Webhook trigger.
This article will show you how to use Thrive Automator to connect to Encharge.io.
In order to create this connection, you will have to create the webhook URL and then create an automation that uses the "Send incoming webhook" action.
You can find the Encharge.io developer documentation here. This is where you'll see the structure of the webhook, which you will, of course, have to update with your own information (API key, mailing list ID, etc.). This depends on the action you want to happen when this webhook is sent.
As an example for this article, we will create an automation with the help of which the following result is achieved: when someone signs up on your site using a form, they are added to your encharge.io mailing list.
Let's see how we can do that:
1.Create the Webhook URL
According to the Encharge.io developer documentation about creating Rest APIs, the structure needed to create this URL to subscribe a new user to our list is this one:
Of course, you will have to replace the last part from the URL with your own Write key. This can be found in your Encharge.io dashboard, under the "Your Account" section of the left sidebar:
The key needed in the structure of the URL will be the "Write Key":
2. Create the automation in Thrive Automator
Access Thrive Automator by hovering over Thrive Dashboard, in the left sidebar of your WordPress admin dashboard. Once the submenu with the Thrive Themes plugin appears, click on Thrive Automator:
Once you're in the Thrive Automator dashboard, click on the "Add New" option, to create a new automation:
In case you need help setting up automations in Thrive Automator, make sure you check out this knowledge base section, with various articles about that.
As you start setting up the new automation, you can start by renaming it:
Then, choose a suitable start trigger. To carry on with the example stated above, I will choose the "Form Submit" start trigger:
Once you've chosen the start trigger (and added conditions, if necessary) you can click on the "Add another action" option:
From the list of available actions, choose the "Send webhook" one:
You'll have to set up the webhook next, as seen below:
→ 1 - Send webhook
In the first field, you will have to add the webhook URL that we've constructed above.
→ 2 - Choose the request type
The request we're making is a POST request.
→ 3 - Choose the request format
The request is a FORM request.
→ 4 - Choose the form fields
Add the fields that you want to be sent to your Encharge.io list. You can use the dynamic information options to do that easier.
In this example, I have only added the name and email, but, of course, you can add as many parameters as you wish in case you want more user information to be sent to the mailing list.
Note: Make sure that the field names match the ones from the developer documentation.
→ 5 - Headers
If needed, add a custom header to the request.
→ 6 - Test connection
You can send out a test to check if everything works properly and the information is sent to Encharge.io.
Click on "Done" to save the action:
And you can go ahead and save the automation:
It will not get published right away, so make sure to click on "Publish":
The automation is done, and the only thing that's left to do is to make sure that the start trigger condition of the automation can be met. In this case, I will ensure that I have a form added to my site, since the start trigger has been set to "Form submit".
To add a form to a page/post, you will have to use the "Lead Generation" element and simply drag and drop it from the element list inside the Thrive Editor. Check out this article if you need more information about how you can add a form to your site.
Once the form is added, the setup is complete. Each time a new person fills in your form, they will be added to your Encharge.io mailing list:
This is how the information is sent to Encharge.io
This is how you can create a connection between Thrive Themes and Encharge.io via Thrive Automator so that when someone subscribes to your site using a form, they are added to your mailing list.
Please remember that this was just an example of an action that can be done using this connection - however, there are many possible outcomes for this. We do advise that such integrations are made by the more tech-savvy ones, that know the basics about incoming webhooks and creating such requests.
I hope this article was useful. Make sure to visit our knowledge base if you need more information about various Thrive Suite products and features.
If this was helpful, we'd really appreciate a smile below 😸