-
-
Save khanzadyan/76b625453827003aa0d2 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"name" : "WebHook to Mailchimp", | |
"nodes" : [ | |
{ | |
"action" : "elasticio/webhook:receive", | |
"config": { | |
"payload": "email,first,last" | |
} | |
}, | |
{ | |
"action" : "elasticio/mapper:map", | |
"config": { | |
"mapper" : { | |
"lastName" : "{{last}}", | |
"firstName" : "{{first}}", | |
"email_type" : "html", | |
"email" : "{{email}}" | |
} | |
} | |
}, | |
{ | |
"action" : "elsaticio/mailchimp:subscribe", | |
"config": { | |
"listId" : "8779dd762e", | |
"_account" : "54536902230d250700000016" | |
} | |
} | |
] | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"name": "WebHook to Mailchimp", | |
"user": "54536862230d250700000014", | |
"status": "inactive", | |
"recipe": { | |
"nodes": [ | |
{ | |
"id": "elasticio/webhook:receive[0]", | |
"compId": "webhook", | |
"function": "receive" | |
}, | |
{ | |
"id": "elasticio/mapper:map[1]", | |
"compId": "mapper", | |
"function": "map" | |
}, | |
{ | |
"id": "elsaticio/mailchimp:subscribe[2]", | |
"compId": "mailchimp", | |
"function": "subscribe" | |
} | |
], | |
"connections": [ | |
{ | |
"to": "elasticio/mapper:map[1]", | |
"from": "elasticio/webhook:receive[0]" | |
}, | |
{ | |
"to": "elsaticio/mailchimp:subscribe[2]", | |
"from": "elasticio/mapper:map[1]" | |
} | |
] | |
}, | |
"data": { | |
"elasticio/webhook:receive[0]": { | |
"payload": "email,first,last" | |
}, | |
"elsaticio/mailchimp:subscribe[2]": { | |
"listId": "8779dd762e", | |
"_account": "54536902230d250700000016" | |
}, | |
"elasticio/mapper:map[1]": { | |
"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