How Mautic webhooks send contact activity to other systems
A team usually needs Mautic contact activity in another system because a form submission, a point change or a stage move should trigger work elsewhere: a CRM record update, a row in a data warehouse or a call to an internal service. A Mautic webhook is the outbound event mechanism for this purpose. It sends a notification describing a contact event to a URL you configure, and the receiving system decides what to do with it. The exact event list, payload fields and settings depend on the Mautic version you run, so confirm them in your own instance and in the Mautic documentation for that release line before you design the receiver. Assume nothing carries over between versions until you have checked it.
The first design decision is real-time or queued delivery. Mautic webhooks can be processed as events happen or collected and sent in background batches, and the choice changes latency, load on the receiving system and how much you must handle duplicates and retries. Real-time delivery suits a narrow set of events that a downstream process needs quickly. Queued delivery suits high-volume activity, such as page-level tracking or frequent point changes, where a batch is easier for the receiver to absorb. Map each event type to one mode, and record which events must not be lost if the receiver is down for a period. Confirm with the Mautic documentation for your version how queued webhooks are stored and processed, since this determines what you must monitor.
Queued webhooks depend on the webhook processing cron job, so the schedule and the host running it are part of the design, not an afterthought. Check the Mautic cron jobs documentation for the command and its recommended frequency in your version, and make sure the job runs on a schedule you control and is logged. A stopped cron job looks like a silent failure: events accumulate and the receiver sees nothing. Plan for deactivation after errors as well. Mautic can stop sending to an endpoint after repeated failures, so your receiver needs health checks, alerting on failed deliveries and a documented procedure for re-enabling the webhook after the cause is fixed. Ask your team to test all three parts together: event firing, queue processing and error recovery, before relying on the integration.
When real-time webhooks fit and when queued batches fit better
Immediate delivery sends each contact event to the receiving system as it happens. It suits workflows where another system or a person must react within moments, such as a sales alert after a high-intent form submission, or a service tool that needs the latest preference change before the next message is sent. The load falls on two sides at once. Every event produces an outbound call, so a campaign send or bulk import can create a burst of calls (illustrative: several thousand form submissions in one hour produce several thousand requests). The receiving endpoint must stay available and fast enough to answer that burst without degrading Mautic's own requests.
- Business need: a downstream action must happen before the contact's next interaction.
- Load on Mautic: confirm whether your version sends each call during the request that triggers it, because a slow endpoint then affects that request.
- Load on the receiver: it must accept spikes from sends and imports, and it needs its own rate limits and capacity planning.
- Failures: confirm the retry behavior of your version and whether failed events are lost or recoverable from Mautic's logs.
- Monitoring: alert on failed deliveries in Mautic, plus the receiver's error rate and response time.
Before you commit to this model, check how your installation handles a failed call and whether the receiver can reconcile missed events.
Queued batches fit when the receiving system can tolerate delay and volume, such as nightly reporting, warehouse loads or bulk CRM updates where a scheduled window is acceptable. Mautic runs much of its background work through cron jobs and worker processes, so the schedule sets the latency. The Mautic cron jobs documentation says these jobs should be staggered, which matters when webhook processing competes with segment, campaign and email jobs for the same server resources.
- Business need: reporting, analytics or bulk synchronization where delay of one scheduled window is acceptable.
- Load on Mautic: work arrives in scheduled runs, so run timing and batch size set the peak load. Stagger jobs and watch CPU and database use during runs.
- Load on the receiver: the load is predictable, so you can plan capacity and accept batches in controlled sizes.
- Failures: a failed run is recovered only if the job can restart safely. Check for gaps in the data after an outage or a stopped scheduler.
- Monitoring: watch that scheduled jobs actually run, how long they take and whether the backlog grows. A stopped cron entry delays every event without an obvious error.
Confirm which cron jobs and workers run on your server, and how the webhook processing job is scheduled, before you estimate latency for the receiving team.
Most teams use both models. Immediate delivery covers a small number of high-value events, and batches cover high-volume data that can wait. The decision depends on how long the receiving system can tolerate a late or missed event and on how many events the Mautic instance generates. Record the choice per event type so that operators know which path each webhook uses and who is responsible when it fails. The team should also verify how the instance runs its background processing, because queued delivery depends on that runtime working correctly.
- Tolerance test: ask the receiving team how long a late or missed event can wait before it causes harm.
- Volume test: run a test segment or campaign in a staging instance to measure events per send (illustrative: a test of a few hundred contacts shows the event pattern at small scale).
- Runtime check: confirm the cron entries, any messenger consumer you use and the webhook processing job run under the expected user and schedule.
- Failure drill: stop the receiver for a test window and confirm what Mautic does with pending and failed events.
- Ownership: name the person who watches the backlog and the person who restarts stopped workers or jobs.
Document these results before go-live, and repeat the failure drill after any server or Mautic upgrade.
A contact event reaches your receiver by one of two paths
The diagram starts with a contact action inside the Mautic host, which records an event. Depending on how the webhook is configured, the event either triggers an immediate HTTP request or waits in a queue that a cron job drains. The request crosses the trust boundary to your receiving endpoint, which answers with a success or an error. Repeated errors can lead Mautic to deactivate the webhook, so check both the response handling on the receiving side and the deactivation state in Mautic.
Contact events reach your receiver by immediate send or cron-driven queue.
What your Mautic instance and receiving system need before enabling webhooks
Webhook delivery depends on both sides of the connection being ready. The Mautic host needs a supported release, a working cron schedule and a safe place to test, while the receiving system needs a stable endpoint, an agreed payload contract and a named owner.
Supported Mautic release line
Confirm which release line you will run before writing any webhook code, because the supported versions, PHP range and security support dates change over time. Mautic 7.0 requires PHP 8.2 to 8.5, MySQL 5.7 or higher with InnoDB or MariaDB 10.2 or higher, and Apache, Nginx or IIS, and it needs npm from Mautic 5.0 onward. Check these against the current requirements page and the release page, then record the chosen release and its end of security support date in your change plan.
Mautic requirementsStable public HTTPS endpoint
The receiving system must accept POST requests from the Mautic host over HTTPS on an address that does not change between deployments. Confirm the certificate chain is complete, the hostname resolves from the Mautic network, and any web application firewall or load balancer rules allow the request method, path and payload size you plan to use. Ask the receiving team to document the expected response codes, since these determine how Mautic treats a failed delivery.
Cron scheduler on the Mautic host
Webhook processing runs as a background job, so the Mautic host needs a scheduler that can run the processing command on a fixed interval and log its output. Mautic's documentation says its cron jobs should be staggered, so plan the webhook job's slot alongside segment, campaign and broadcast jobs. Confirm that the scheduler user can write to the log location and that a missed run triggers an alert, because queued events wait silently otherwise.
Mautic cron jobsAgreed event list and payload contract
Decide which contact and campaign events will be sent before enabling anything, because each event adds load and a field the receiving system must parse. Write a contract that names every event, the fields included in each payload, the data classification of those fields and the schema version. Share the contract with the receiving team and treat any later change to a field name or type as a versioned change that both sides test together.
Non-production test instance
Build a test Mautic instance on the same type of host as production, because the project advises against shared hosting and a test box on a different stack will not show the same cron or queue behavior. Load a sample of anonymized contacts, enable one webhook at a time and confirm delivery, retries and deactivation behavior before touching production. Keep test contacts and test receiver URLs separate so no live customer record reaches an unfinished endpoint.
Hosting requirementsNamed owner for the receiving endpoint
Assign one person or team to own the receiving endpoint, including its uptime, credentials, logs and change approvals. When Mautic deactivates a webhook after repeated errors, someone on the receiving side must investigate the cause and decide whether to re-enable it, so that person must be reachable and have access to Mautic's webhook settings. Record the owner, the escalation path and the support hours in the runbook before go-live.
How to configure webhooks and the processing cron job in order
This sequence takes a Mautic instance from a confirmed release and cron setup to live webhook traffic, with a check at each step. Each check shows that events are leaving Mautic, reaching the receiver and clearing from the queue before production volume starts.
Confirm the release line and cron baseline
The platform engineer confirms the Mautic release line in use and checks it against the supported dates on the Mautic releases page, then confirms that the existing segment, campaign and trigger cron jobs already run on schedule. Record the PHP version and the server user that runs cron, because the webhook processing job runs under the same environment. Done when the release is on a supported line, the existing jobs show recent successful runs in the logs, and the team has a written record of the release and cron user.
Confirm the delivery mode for each event
Before touching the interface, the team confirms which events need real-time delivery and which can wait for a background batch, using the decision made earlier in this topic. The owner of each receiving system signs off on expected latency and on what happens if a payload arrives late or twice. Done when a short table lists each event type, its delivery mode and the named owner of the receiving system.
Create the webhook in Mautic
An administrator creates the webhook in the Mautic interface and enters the target URL of the receiving endpoint, which should be HTTPS and reachable from the Mautic server. Name the webhook so that its purpose and receiving system are obvious in the list. Confirm the exact menu path and field labels in the documentation for your release, since they can change between lines. Done when the webhook appears in the list in a saved, unpublished or disabled state.
Select events and set the delivery mode
The administrator selects only the contact and activity events the receiver needs and sets the delivery mode agreed in step two. Keep the event list short at first, because every extra event adds payloads to process and to troubleshoot. Save the configuration and export or screenshot it for the change record. Done when the saved event list matches the approved table and the delivery mode is recorded against each webhook.
Add the webhook processing cron job
The platform engineer adds the webhook processing job to the server crontab or scheduler, using the command shown in the Mautic cron jobs documentation for your release line. The job runs under the same user and environment confirmed in step one, and its output is logged to a file the team can read. Done when a manual run of the command completes without errors and writes to the log file.
Stagger the schedule from other Mautic jobs
The engineer sets the webhook processing schedule so it does not start at the same minute as the segment, campaign and trigger jobs, as the cron documentation advises for Mautic jobs. Review the full crontab together so no two Mautic jobs overlap in a way that would compete for the database. Confirm that a messenger consumer is also running if the instance sends queued email. Done when the crontab review is signed off and the log shows the webhook job starting at its own scheduled time.
Send a test event and confirm receipt
An administrator triggers a known test action on a test contact, such as adding a tag or updating a field, and the receiving system records the payload. The team checks that the payload structure matches the documented fields and that the contact identifier can be matched to a record in the receiving system. Run the processing job manually if the test is not delivered on the next scheduled run. Done when the test payload is received, parsed and logged on the receiver side, and the Mautic log shows a successful delivery.
Enable production traffic and watch the queue
The administrator enables the webhook for live contacts and watches the queue and logs for the first full processing cycles. The team confirms that the number of pending webhook items returns to zero between runs, and that failed deliveries are visible so the deactivation rules described in this topic can be checked. Schedule a review of the first day of traffic with the receiving system owner. Done when the queue clears on each cycle, no unexpected errors appear, and the owner confirms payloads match expectations.
How Mautic payload fields map to your system's records
This table compares Mautic webhook payload attributes with the records they would update in the receiving system, along with the transform, validation and sign-off each one needs. Build the actual rows from a payload your team captures in its own test, because field names and nesting depend on the installed Mautic version. Treat the rows below as a checklist of what to map, not as a fixed schema.
| Mautic attribute | Receiving system field | Transform or validation | Sign-off owner |
|---|---|---|---|
| Contact identifier (contact ID) | External contact key | Store as a string; reject events without it before any write | Integration engineer |
| Primary email address | Contact email (matching key) | Lowercase and trim; define duplicate-match rules before go-live | Marketing operations lead |
| Custom fields | Mapped contact properties | Map each field by name; confirm data types and empty-value handling per field | Marketing operations lead |
| Tags | Contact labels or segments | Confirm whether removals are sent or must be inferred; define a sync direction | Marketing operations lead |
| Points | Lead score property | Confirm numeric type; decide whether the receiver stores the total or the change | Sales operations lead |
| Stage | Lifecycle stage | Map Mautic stage names to receiver values through a lookup table; reject unknown values | Sales operations lead |
| Event type | Activity or event record type | Route by event name; log and quarantine unrecognized types instead of dropping them | Integration engineer |
| Event timestamp | Activity date and time | Convert to the receiver's time zone standard; check ordering for out-of-sequence delivery | Data protection officer |
Why the webhook processing cron job must run on a schedule
The webhook processing job is a scheduled task, so Mautic delivers queued webhook events only when that task runs. Mautic already depends on cron jobs for segment updates, campaign updates and campaign triggers, and the documentation advises staggering them. Add webhook processing to the same schedule plan so it does not start at the same moment as heavy campaign work on the same server. Map every cron entry on paper before you add the webhook entry. Confirm the exact command, interval and locking behavior in the Mautic cron jobs documentation for your version, because these details change between releases.
If the job stops, events keep accumulating in the queue and the receiving system sees delay instead of an immediate stream. That delay is only harmless if nothing removes queued events before they are delivered, so confirm which cleanup tasks run on your instance and how long queued events are kept. When the job resumes, it may send a large backlog at once, which can overload a receiver that was built for steady traffic. Agree on how the receiver should handle bursts before go-live. A stalled job can also hide receiver failures, because the sending side stops making calls and the errors that would normally appear never show up. Alert on runs that did not happen, not only on runs that failed.
Overlapping and long runs affect the receiver in different ways. If one run is still working when the next one starts, two processes may send the same events, which produces duplicates unless the command uses a lock that prevents it. Test this on a staging copy with realistic event volume and check the lock behavior in your version's documentation. A long run delays every batch behind it, so the receiver waits longer for new events. Track the time of the last successful run, set an alert for runs that exceed the duration you agreed with the receiving team, and have the receiver deduplicate events using identifiers in the payload, if your version provides them.
How to secure webhook endpoints and the data they carry
A Mautic webhook is a steady outbound stream of contact activity, so every receiving endpoint becomes part of your personal data processing. The controls below work together: protect the channel, confirm who is calling, limit what leaves Mautic, and keep the configuration and logs as tightly governed as the contact data itself.
Serve the receiver over HTTPS only
Mautic posts contact details to the receiver URL you configure, so that URL should use HTTPS with a certificate your team manages and renews. Reject plain HTTP at the load balancer and do not follow redirects from HTTPS to HTTP. Check the certificate chain from the Mautic server itself, because a certificate that works in a browser can still fail for a server with a different trust store. Confirm the exact outbound network path from the Mautic host, including any proxy, before go-live.
Verify the sender of each call
Before you rely on a shared secret or signature header, confirm in your installed Mautic version whether webhook requests carry one and how the receiver should check it. If your version offers no signature, treat the endpoint as unauthenticated and compensate with the controls on this list. Keep any secret outside the Mautic configuration you hand to other teams, and plan a rotation procedure that updates both sides together.
Restrict inbound source addresses
Where your network allows it, accept webhook traffic only from the outbound addresses of your Mautic server or its egress proxy. Ask your network team to confirm those addresses are stable, since a changed NAT or cloud egress IP will silently stop deliveries and can look like an outage. Allowlisting is a second layer, not a substitute for sender verification, because source addresses can be shared or spoofed at other layers.
Minimize personal data in payloads
Each webhook sends whatever fields the webhook is configured to include, so select only the fields the receiving system needs for its purpose. Document that choice against your consent and retention rules for marketing contacts. If the receiver only needs an event type and a contact identifier, do not send email addresses, phone numbers or free-text fields. Review the payload after any Mautic upgrade or custom field change, since new fields can appear in existing flows.
Limit admin access to webhook settings
Anyone who can edit a webhook can redirect contact data to a new URL, so restrict webhook configuration to a small named group of Mautic administrators. Give other users roles that exclude webhook and configuration management, and review that list on a schedule and when people change roles. Store any receiver credentials in your secrets manager rather than in shared notes, and record who changed the destination URL or payload.
Keep delivery logs free of personal data
Delivery logs help you diagnose failed calls, but full payloads copied into logs create a second copy of personal data with its own retention. Log the webhook ID, event type, timestamp, HTTP status and a hashed or internal contact reference instead of the body. Set a log retention period agreed with your data protection owner, and confirm that the receiver's own logs follow the same rule.
Why webhook deliveries stop or get deactivated after errors
This table lists the failures that most often stop Mautic webhook deliveries, with the likely cause and the fix for each. Read it by matching the symptom you see in the queue, the logs or the receiver against the rows, then work through the fix before you re-enable anything. The main takeaway is that a deactivated webhook usually reflects an upstream fault that has to be cleared first.
| Symptom | Likely cause | Fix |
|---|---|---|
| Queued events keep growing and nothing is sent | The webhook processing cron job is not running, or the job has stopped after an error | Confirm the cron entry runs on schedule and check its last run in the server logs. Restart the job and watch the queue drain before changing anything else. |
| Duplicate or overlapping processing runs | Two cron jobs run the same command at the same time, often after a schedule change or a second server was added | Stagger or remove the duplicate entries, as Mautic's cron documentation recommends for its jobs. Confirm that only one scheduler runs each command. |
| Receiver returns HTTP errors | The receiving endpoint rejects the payload, returns a 4xx or 5xx status, or fails its own validation | Read the receiver's application logs for the same timestamps. Fix the endpoint, then confirm it returns a success status to a test event. |
| Requests time out | The receiver takes too long to respond, is overloaded, or sits behind a slow proxy or firewall | Make the receiver acknowledge quickly and process the work asynchronously. Check proxy and load balancer timeouts between Mautic and the receiver. |
| TLS or certificate failures | The certificate has expired, is issued for another name, or the chain is incomplete | Check the certificate for the exact hostname in the webhook URL and verify the full chain from the Mautic server. Renew or reinstall it, then test. |
| DNS resolution failures | The receiver hostname was changed, removed, or does not resolve from the Mautic server's network | Resolve the hostname from the Mautic server itself, not from your workstation. Update the webhook URL if the endpoint moved. |
| Payloads fail after an upgrade | A Mautic upgrade changed field names, structure or event types that the receiver parses | Compare a captured payload from before and after the upgrade against the receiver's schema. Update the receiver first, then re-test with a sample event from the upgraded instance. |
| Webhook was deactivated after repeated errors | Mautic stopped sending to the endpoint after errors accumulated, so events were not delivered while it was inactive | Check the installed version's behavior and logs for the deactivation and its trigger. Re-enable only after the cause is fixed, then replay missed events from a known point, such as the last confirmed delivery time. |
What buyers ask before outsourcing Mautic webhook work
What does outsourcing Mautic webhook work cost?
The cost depends on the written scope. DeployOpen does not publish a price list, so a quote follows from the agreed deliverables. The main components are discovery of the events you need, configuration in Mautic, building or adjusting the receiving endpoint, testing across each environment, and documentation with handover. Most of this is one-time work. Monitoring, fixes after Mautic releases and changes to event types are recurring if you add a retainer. When you ask for a quote, request that it separates these components, states who builds the receiver and lists which environments are included.
What makes a Mautic webhook project take more effort?
Four factors drive most of the effort. The first is the number of event types, since each contact action or trigger you send needs its own mapping and test cases. The second is mapping complexity, such as nested contact fields, custom fields with different data types or values that must be translated into codes the receiver understands. The third is receiver readiness. An existing endpoint with documented payloads and error responses takes less time than a new service that still needs design. The fourth is the number of environments, because each one needs its own configuration, credentials and test runs. Reducing any of these in the planning stage usually lowers the cost of the build.
How long does a Mautic webhook implementation take?
The duration depends on scope and should be confirmed in a written plan before work starts, so this page does not estimate one. The schedule moves with the number of event types, the amount of mapping the receiving system needs, whether the receiver already exists and how quickly your team reviews test results. Ask for a plan that lists milestones, the environments each milestone covers and the dependencies on your staff and other vendors. Any duration given without a stated basis in scope should be questioned before you sign.
What does our team need to provide before webhook work starts?
Your team needs to provide four things. The first is endpoint access, meaning a reachable test and production URL for the receiving system, with network rules that allow Mautic to send requests to it. The second is field owners, people who can confirm what each contact field means, who may receive which data and which values are valid. The third is test data, including sample contacts and events that cover normal cases and edge cases such as missing fields and duplicate records. The fourth is a decision-maker who can approve the event list and the error-handling behavior. Delays in any of these usually become delays in the schedule.
Can our in-house team build Mautic webhooks without an outside partner?
Yes, if the team has working experience with Mautic administration, the Mautic cron jobs and the receiving system's API. The Mautic cron jobs documentation describes several background tasks, including segment updates, campaign updates and campaign triggers, which should be staggered. Your engineers should understand how background processing interacts with these jobs before they design a webhook queue. They also need to test failed deliveries and confirm how Mautic behaves after repeated errors in the version you run. If that experience is thin, a short scoped review or a fixed-scope build can cover the gap while your team keeps the knowledge.
Does DeployOpen monitor Mautic webhooks after go-live?
Ongoing monitoring is available under a retainer, and it is not included in a one-time implementation unless the written scope says so. A retainer can cover checking that the webhook processing job runs as scheduled, reviewing delivery errors, responding when the receiver changes its API and reviewing Mautic upgrades before they reach production. Ask which alerts are set up, who receives them, what response times are agreed and how configuration changes are recorded. Confirm whether monitoring covers the receiving system as well as Mautic, since failures often start on the receiver side.
What breaks when Mautic webhook processing stops running?
Events can pile up or fail silently, so downstream systems fall out of step with contact activity in Mautic. Real-time sends and background batches fail in different ways. A stopped background job delays every queued event until it runs again, while a failing real-time endpoint can cause repeated errors that lead Mautic to deactivate the webhook after the threshold in your version is reached. Check the Mautic cron jobs documentation for the job schedule, then confirm the error threshold and deactivation behavior for your release. Build an alert for stalled queues and a documented way to reactivate and replay events.
How DeployOpen scopes, delivers and supports Mautic webhook integrations
DeployOpen treats Mautic webhooks as a fixed-scope integration: the events to send, the receiving systems, the delivery mode and the failure handling are agreed in writing before build starts. The work is delivered inside your own infrastructure, with the webhook processing cron job, queue behavior and receiver logic documented for your operations team.
How we scope
- Agree in writing which contact events leave Mautic and which receiving systems consume them
- Decide per event type whether delivery is real-time or queued in a background batch
- Confirm the Mautic release line, hosting and cron schedule that the webhook depends on
How we build
- Configure webhook endpoints, payload fields and queue processing on your own Mautic instance
- Build and test the receiving service, including signature checks and idempotent handling of repeated events
- Test deactivation after repeated delivery errors and document how to re-enable a webhook safely
How we hand over
- Deliver a written runbook covering payload structure, event mapping, cron timing and retry behavior
- Document the failure states, monitoring signals and steps for recovering from a deactivated webhook
- Walk your engineers through the configuration so they can change endpoints without a full rebuild
How we support
- Offer ongoing support, upgrades and continuous testing as a retainer after handover
- Retest webhook delivery when Mautic moves to a new release or when a receiving system changes
- Quote follow-on work from a new written scope so changes stay traceable and agreed in advance

