Skip to main content

Mautic trigger

Mautic is an open-source marketing automation software that helps online businesses automate their repetitive marketing tasks such as lead generation, contact scoring, contact segmentation, and marketing campaigns.

!!! note "Credentials" You can find authentication information for this node here.

Example Usage

This workflow allows you to receive updates when a form is submitted in Mautic using the Mautic Trigger node and send an SMS confirmation to the submitter. You can also find the workflow on Robbot Automation. This example usage workflow would use the following node.

  • [Twilio](/integrations/builtin/app-nodes/Robbot Automation-nodes-base.twilio/)

1. Mautic Trigger node

The Mautic Trigger node will trigger the workflow when a Mautic form is submitted.

  1. First of all, you'll have to enter credentials for the Mautic Trigger node. You can find out how to do that here.
  2. Select 'Form Submit Event' from the Events dropdown list.
  3. Click on Save to run the node.

2. Twilio node (send: sms)

This node sends a registration confirmation SMS to the users who filled out the Mautic form. We get the phone number of the submitter from the previous node.

  1. First of all, you'll have to enter credentials for the Twilio node. You can find out how to do that here.

  2. Enter the Twilio phone number in the From field.

  3. Click on the gears icon next to the To field and click on Add Expression.

  4. Select the following in the Variable Selector section: Nodes > Mautic Trigger > Output Data > JSON > mautic.form_on_submit > [item: 0] > submission > results > phone_number. You can also add the following expression: {{$node["Mautic Trigger"].json["mautic.form_on_submit"][0]["submission"]["results"]["phone_number"]}}.

  5. Click on the gears icon next to the Message field and click on Add Expression.

  6. Enter the following message in the Expression field.

Hey, {{$node["Mautic Trigger"].json["mautic.form_on_submit"][0]["submission"]["results"]["first_name"]}} 👋
Thank you for signing up for the Webinar - Getting Started with Robbot Automation. The webinar will start at 1800 CEST on 31st October 2020.
See you there!
  1. Click on Save to run the node.

!!! note "Activate workflow for production" You'll need to save the workflow and then click on the Activate toggle on the top right of the screen to activate the workflow. Your workflow will then be triggered as specified by the settings in the Mautic Trigger node.