Marketo
Marketo Webhooks allow you to send lead and activity data from Marketo in real time to Jomablue. By configuring a webhook, you can pass structured information (such as lead attributes, program context, or custom fields) directly into Jomablue for use in events.
A webhook in Marketo is essentially an HTTP request, typically a POST, that you configure with:
- URL: The Jomablue endpoint you want Marketo to call.
- Payload Template: The request body, where you insert Marketo tokens (e.g. {{lead.EmailAddress}}).
- Headers: Optional fields such as Content-Type or authentication keys.
Once configured, a webhook can be invoked as a step in any Smart Campaign flow, ensuring that lead and campaign data is automatically sent to Jomablue whenever a lead meets your campaign criteria.
The following sections provide examples of how to configure a webhook in Marketo, define JSON payloads, and send data to Jomablue.
1. Where to Configure the Webhook
- Log in to Marketo.
- Go to Admin → Integration → Webhooks.
- Click New Webhook.

2. Basic Settings
- Webhook Name: Send Registration to Jomablue
- Description: Sends Event Registration Data to Jomablue
- URL: https://yourinstance.jomablue.com/api/webhook/ingest/{ingest_endpoint_uuid}
- Request Type: POST
- Template: JSON body (see below)
- Request Token Encoding: JSON
- Response Type: JSON

3. Example JSON Payload
{
"organisation_uid": "{{lead.Id}}",
"first_name": "{{lead.FirstName}}",
"last_name": "{{lead.LastName}}",
"email": "{{lead.EmailAddress}}",
"job_title": "{{lead.role}}",
"company": "{{lead.company}}",
"mobile": "{{lead.mobile}}",
"category": "{{lead.type}}",
"custom_fields": {
"dietary_requirements": "{{lead.food_preferences}}",
"company_size": "{{lead.company_size}}",
"campaign_id": "{{program.ID}}"
}
}4. Headers
Click on Custom Headers in webhook setup:
- Content-Type: application/json
- Accept: application/son
- Authorization: Bearer [API key]

5. Test the Webhook
- Go to a Smart Campaign in Marketo.
- In the Flow, add → Call Webhook → select your new webhook.
- Run a test lead through the campaign.
- Check your endpoint logs to confirm receipt.