> ## Documentation Index
> Fetch the complete documentation index at: https://docs.inflection.io/llms.txt
> Use this file to discover all available pages before exploring further.

# Marketo

> Send data from Marketo to Inflection using inbound webhooks.

You can send **contact unsubscribe information** from Marketo to **Inflection.io's generic webhook endpoint** by setting up a **Marketo webhook**, Here's how:

1. **Get the Inflection Webhook URL**
   1. Obtain the **generic webhook endpoint** from Inflection.io where data will be ingested

2. Access Webhook Settings
   1. Log in to Marketo
   2. Go to Admin → Under Integration, select Webhooks
   3. Click "New Webhook".

3. Configure Webhook

   1. Webhook Name: Give it a descriptive name
   2. URL: Enter the inflection.io Webhook URL
   3. Request Type: Select POST
   4. Headers: Add any required headers
   5. Define the JSON payload

      ```json theme={null}
      {
        "email": {{lead.Email Address}},
        "unsubscribe": {{lead.Unsubscribed}}
      }
      ```

      Choose response type as JSON

   <img src="https://mintcdn.com/inflection-4b2c0de4/0Fy2fPaKm7bhQlZX/images/connections/webhooks/marketo/01.png?fit=max&auto=format&n=0Fy2fPaKm7bhQlZX&q=85&s=95fd7aff5376501f81b686ce0f9f7ed1" alt="Marketo webhook configuration with URL, request type, payload template, and response type" width="529" height="642" data-path="images/connections/webhooks/marketo/01.png" />

4. Test the Webhook
   1. Click "Send Test" and verify the response
   2. Adjust if needed based on requirements

5. Activate Webhook in Smart Campaign
   1. Navigate to Marketing Activities → Select a Smart Campaign
   2. Under Flow, click "Call Webhook" and select the newly created webhook
   3. Activate the campaign
