Mautic
Email MarketingConnect AI agents to Mautic, the open-source marketing automation platform. Agents manage contacts, segments, campaigns, companies, and emails, and move contacts through funnel stages.
What This Integration Enables
An agent can sync new leads from forms, CRMs, or spreadsheets into Mautic as contacts and enroll them in nurture campaigns. It segments contacts and triggers targeted email sends to individuals or entire segments, keeps company records and contact associations current across systems, logs timeline notes, and moves contacts through funnel stages as they progress. Applying and removing tags drives Mautic's own automation rules. Mautic has no event triggers in this integration, so flows start from the systems feeding it: an inbox, a form, a spreadsheet, or a scheduled import. The agent is the bridge that turns those inbound signals into segmented contacts and timely sends. Because Mautic is often self-hosted, this keeps the marketing automation you own in step with the rest of the stack.
Without FlowRunner
With FlowRunner
Use Case Scenarios
Inbound Prospect Enters Nurture
A [Gmail](/integrations/gmail-service) trigger fires from a prospect. The agent calls Create Contact to add them and Add Contact to Campaign to enroll them in a nurture sequence. The prospect is in the funnel within moments of reaching out, not after a marketer processes the inbox.
Build a Targeted Audience
The agent reads a lead list with [Google Sheets](/integrations/google-sheets) Get Rows, then calls Create Contact for each row and Add Contact to Segment to build a targeted audience. A spreadsheet becomes a live segment ready for a campaign.
Report on a Segment Send
After Send Email to Segment completes, the agent posts the sent, failed, and pending counts to the marketing channel through [Slack](/integrations/slack) Send Message To Channel. Before that send runs against a full segment, the agent pauses and asks a marketer to approve the audience and the email.
Human-in-Loop Highlight
Sending to an entire segment is irreversible and public: the email reaches every contact at once, and a mistake is visible to all of them. That send is the moment a marketer wants a gate. When the agent is about to call Send Email to Segment, it treats the send as a [human-in-the-loop](/concepts/human-in-the-loop/) step: it pauses, shows the segment size and the email it would send, and routes the decision to a marketer through Slack or email. The marketer approves, and the agent sends and reports the counts. The marketer holds, and nothing goes out. Single-contact sends and segment building run automatically; the mass send waits for a person.
Agent Capabilities
28 actionsContacts
5- Create Contact Creates a new Mautic contact (lead). Supports the standard core fields (first name, last name, email, phone, company) plus tags and any custom contact fields via the Custom Fields object, whose keys must match your Mautic custom field aliases. Returns the created contact wrapped under the "contact" key.
- Get Contact Retrieves a single Mautic contact by its numeric ID, including its field values, tags, and segment/company associations. Returns the contact wrapped under the "contact" key.
- List Contacts Lists Mautic contacts with optional full-text search, pagination, and ordering. Mautic returns the matching contacts as an object keyed by ID; this operation normalizes them into a "contacts" array and includes the "total" match count.
- Edit Contact Updates an existing Mautic contact by ID using a PATCH, which only modifies the fields you supply and leaves all others untouched. Supports the core fields plus tags and arbitrary custom fields. Returns the updated contact wrapped under the "contact" key.
- Delete Contact Permanently deletes a Mautic contact by ID. Returns the deleted contact record wrapped under the "contact" key. This action cannot be undone.
Segments
4- List Segments Lists Mautic segments (contact lists) with optional search and pagination. Mautic returns the segments as an object keyed by ID; this operation normalizes them into a "lists" array and includes the "total" count.
- Create Segment Creates a new Mautic segment (contact list) with a display name and optional alias and description. Returns the created segment wrapped under the "list" key.
- Add Contact to Segment Adds a contact to a Mautic segment (contact list). Returns a success flag. If the contact is already a member, Mautic still reports success.
- Remove Contact from Segment Removes a contact from a Mautic segment (contact list). Returns a success flag.
Campaigns
4- List Campaigns Lists Mautic campaigns with optional search and pagination. Mautic returns the campaigns as an object keyed by ID; this operation normalizes them into a "campaigns" array and includes the "total" count.
- Get Campaign Retrieves a single Mautic campaign by ID, including its events and associated segments. Returns the campaign wrapped under the "campaign" key.
- Add Contact to Campaign Adds a contact to a Mautic campaign, enrolling them so campaign events begin evaluating for that contact. Returns a success flag.
- Remove Contact from Campaign Removes a contact from a Mautic campaign, un-enrolling them so campaign events no longer fire for that contact. Returns a success flag.
Companies
6- Create Company Creates a new Mautic company with core fields plus any custom company fields. Returns the created company wrapped under the "company" key.
- List Companies Lists Mautic companies with optional search and pagination. Mautic returns the companies as an object keyed by ID; this operation normalizes them into a "companies" array and includes the "total" count.
- Get Company Retrieves a single Mautic company by ID, including its field values. Returns the company wrapped under the "company" key.
- Edit Company Updates an existing Mautic company by ID using a PATCH, modifying only the fields you supply. Returns the updated company wrapped under the "company" key.
- Delete Company Permanently deletes a Mautic company by ID. Returns the deleted company record wrapped under the "company" key. This action cannot be undone.
- Add Contact to Company Associates a contact with a Mautic company. Returns a success flag.
Emails
3- List Emails Lists Mautic emails with optional search and pagination. Mautic returns the emails as an object keyed by ID; this operation normalizes them into an "emails" array and includes the "total" count.
- Send Email to Contact Sends an existing Mautic email to a single contact by their IDs. The email must be a template email that is published. Returns a success flag.
- Send Email to Segment Sends an existing Mautic segment email to all contacts in one of its associated segments. The email must be a segment/list email assigned to the given segment. Returns counts of successfully sent, failed, and pending messages.
Tags
1- List Tags Lists all Mautic tags with optional search and pagination. Mautic returns the tags as an object keyed by ID; this operation normalizes them into a "tags" array and includes the "total" count. To apply or remove tags, use Create Contact or Edit Contact with the Tags field (prefix a tag with a minus sign to remove it).
Notes
2- Create Note Creates a note attached to a Mautic contact. Notes are timeline entries used for internal record-keeping. Returns the created note wrapped under the "note" key.
- List Notes Lists Mautic contact notes with optional search and pagination. Mautic returns the notes as an object keyed by ID; this operation normalizes them into a "notes" array and includes the "total" count.
Forms & Stages
3- List Forms Lists Mautic forms with optional search and pagination. Mautic returns the forms as an object keyed by ID; this operation normalizes them into a "forms" array and includes the "total" count.
- List Stages Lists Mautic stages with optional search and pagination. Stages represent a contact's position in your marketing/sales funnel. Mautic returns the stages as an object keyed by ID; this operation normalizes them into a "stages" array and includes the "total" count.
- Add Contact to Stage Moves a contact into a Mautic stage by their IDs, setting the contact's funnel position. Returns a success flag.
Start building with Mautic
$100 in credits. No card required. Connect in minutes.