Mautic is an open-source marketing automation software that helps online businesses automate their repetitive marketing tasks such as lead generation, contact segmentation, marketing campaigns, lead scoring, etc.
Amazon SQS is a fully managed message queuing service. It offers reliable, highly scalable, reliable messaging and transaction processing that lets you decouple tasks or processes that must communicate.Amazon SQS Integrations
Mautic + Amazon SQSCreate Message from Amazon SQS from Updated Contact to Mautic Read More...
It's easy to connect Mautic + Amazon SQS without coding knowledge. Start creating your own business flow.
Triggers when a new contact is created.
Triggers when a form is submitted.
Triggers when new marketing message created.
Triggers when new text message created.
Triggers when a contact updated.
Triggers when you add a new queue
Create a marketing message.
Create a text message
Creates a new contact or updates and existing contact.
Create a new JSON message using data from the source trigger
Create a new message.
Create a new queue
In the previous post, I have introduced “Mautic” and “Amazon SQS”. In this post, I will discuss how we integrate Mautic with Amazon SQS. Then, I will explain “Benefits of Integration of Mautic and Amazon SQS“.
Integration of Mautic and Amazon SQS can be easily done by using AWS API Gateway. We just need to configure our Mautic instance as an API publisher to AWS API Gateway. As a result, Amazon SQS queues will get messages from Mautic.
The fplowing diagram shows how we integrate Mautic and Amazon SQS:
II-1. Configuration in Mautic
Step 1. Configure the API Publisher in Mautic
We just need to go to Settings -> API Publisher and click “Add API Publisher” button to create a new API publisher.
Step 2. Set up the API publisher settings
Then, we can set up the API publisher settings. The only thing to add is the endpoint URL which is http://api01.mautic.com/mauticexchange/ (the endpoint URL can be changed in the future. Other fields are left default. Then, click “Save” button to save the API publisher settings.
Step 3. Publish an API resource
Then, we can publish a new API resource to API publisher by clicking “New Resource” button. The name of the resource should be “testResource” and the method should be “GET”. Click “Save” button when you finish the configuration.
After publishing the API resource, we can find it on the API publisher page. We can only publish one API resource at this time. When we need to publish more than one resource, we have to create another API publisher for these resources.
II-2. Configuration in AWS API Gateway
Step 1. Go to AWS management conspe and click “API Gateway” under “APIs & Services” section to open it. Then, click “Test” button to open test top panel. Then, click “Create Resource” button to create a new resource.
Step 2. Set up the new resource settings
Then, we can set up the new resource settings. The only thing to add is the HTTP method which is “GET”. Other fields are left default. Then, click “Create Resource” button to create the new resource. After creating the new resource, we can find the newly created resource on the test panel. Then, click “Edit” button to open the resource editor panel.
Step 3. Configure request mapping template for HTTP GET method
Then, we can configure request mapping template for HTTP GET method. This step needs a little bit more complicated than previous steps but it also very simple if we fplow the fplowing steps:
Copy fplowing templates into request mapping template text box:
The process to integrate Mautic and Amazon SQS may seem complicated and intimidating. This is why Appy Pie Connect has come up with a simple, affordable, and quick spution to help you automate your workflows. Click on the button below to begin.