mailchimpTrigger.json•3.59 kB
{
"nodeType": "n8n-nodes-base.mailchimpTrigger",
"displayName": "Mailchimp Trigger",
"description": "Handle Mailchimp events via webhooks",
"version": 1,
"properties": [
{
"name": "authentication",
"displayName": "Authentication",
"type": "options",
"default": "apiKey",
"options": [
{
"name": "API Key",
"value": "apiKey"
},
{
"name": "OAuth2",
"value": "oAuth2"
}
]
},
{
"name": "list",
"displayName": "List Name or ID",
"type": "options",
"default": "",
"description": "The list that is gonna fire the event. Choose from the list, or specify an ID using an <a href=\"https://docs.n8n.io/code/expressions/\">expression</a>.",
"required": true
},
{
"name": "events",
"displayName": "Events",
"type": "multiOptions",
"default": [],
"description": "The events that can trigger the webhook and whether they are enabled",
"required": true,
"options": [
{
"name": "Campaign Sent",
"value": "campaign",
"description": "Whether the webhook is triggered when a campaign is sent or cancelled"
},
{
"name": "Cleaned",
"value": "cleaned",
"description": "Whether the webhook is triggered when a subscriber's email address is cleaned from the list"
},
{
"name": "Email Address Updated",
"value": "upemail",
"description": "Whether the webhook is triggered when a subscriber's email address is changed"
},
{
"name": "Profile Updated",
"value": "profile",
"description": "Whether the webhook is triggered when a subscriber's profile is updated"
},
{
"name": "Subscribe",
"value": "subscribe",
"description": "Whether the webhook is triggered when a list subscriber is added"
},
{
"name": "Unsubscribe",
"value": "unsubscribe",
"description": "Whether the webhook is triggered when a list member unsubscribes"
}
]
},
{
"name": "sources",
"displayName": "Sources",
"type": "multiOptions",
"default": [],
"description": "The possible sources of any events that can trigger the webhook and whether they are enabled",
"required": true,
"options": [
{
"name": "User",
"value": "user",
"description": "Whether the webhook is triggered by subscriber-initiated actions"
},
{
"name": "Admin",
"value": "admin",
"description": "Whether the webhook is triggered by admin-initiated actions in the web interface"
},
{
"name": "API",
"value": "api",
"description": "Whether the webhook is triggered by actions initiated via the API"
}
]
}
],
"credentialsConfig": [
{
"name": "mailchimpApi",
"required": true
},
{
"name": "setup",
"required": false
},
{
"name": "authentication",
"required": false
},
{
"name": "list",
"required": true
},
{
"name": "sources",
"required": true
}
],
"io": {
"inputs": [],
"outputs": [],
"outputNames": [],
"hints": {}
},
"wiring": {
"role": "generic",
"requires": [],
"optional": [],
"consumedBy": [],
"consumes": [],
"produces": []
}
}