Skip to content

Instantly share code, notes, and snippets.

@zubairov
Last active November 9, 2015 13:41
Show Gist options
  • Save zubairov/39230fe93cd0ec7ee0f5 to your computer and use it in GitHub Desktop.
Save zubairov/39230fe93cd0ec7ee0f5 to your computer and use it in GitHub Desktop.
{
"name" : "WebHook to Mailchimp",
"nodes" : [
{
"action" : "elasticio/webhook:receive",
"config": {
"data1" : "value1"
}
},
{
"action" : "elasticio/mapper:map",
"config": {
"lastName" : "{{last}}",
"firstName" : "{{first}}",
"email_type" : "html",
"email" : "{{email}}"
}
},
{
"action" : "elsaticio/mailchimp:subscribe",
"config": {
"listId" : "8779dd762e",
"_account" : "54536902230d250700000016"
}
}
]
}
}
}
{
"name": "WebHook to Mailchimp",
"user": "54536862230d250700000014",
"status": "inactive",
"recipe": {
"nodes": [
{
"id": "step_1",
"compId": "webhook",
"function": "receive"
},
{
"id": "step_2",
"compId": "mapper",
"function": "map"
},
{
"id": "step_3",
"compId": "mailchimp",
"function": "subscribe"
}
],
"connections": [
{
"to": "step_3",
"from": "step_1"
},
{
"to": "step_2",
"from": "step_3"
}
]
},
"data": {
"step_1": {
"payload": "email,first,last"
},
"step_2": {
"listId": "8779dd762e",
"_account": "54536902230d250700000016"
},
"step_3": {
"mapper": {
"lastName": "{{last}}",
"firstName": "{{first}}",
"email_type": "html",
"email": "{{email}}"
}
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment