This forum is no longer open and is for reading/searching only.
Please use our new MachForm Community Forum instead.
MachForm Community Forums » MachForm 4
Mailchimp WebHooks
Started 10 years ago by Dialoguenet | 9 posts |
-
Hi,
I try to synchronize my form with my "Mailchimp List" but I can only synch the email adress. What is the syntax to link other form fiels with Mailchimp?
There si my last try :
{
"apikey": "XXXXX-us5",
"id": "XXXXX",
"email": {
"email": "{element_3}"
},
"FNAME": {
"FNAME": "{element_2_1}"
},
"LNAME": {
"LNAME": "{element_2_2}"
},
"PLAN": {
"PLAN": "{element_4}"
},
"double_optin": false,
"update_existing": true,
"replace_interests": true,
"send_welcome": true
}Thank you for your help!
Posted 10 years ago # -
It should be like this:
"merge_vars": { "MERGE1": "{element_1}" },
or
"merge_vars": { "fname": "{element_1}" },
the last one above assuming your merge tag is "fname".
MachForm Founder
Posted 10 years ago # -
Hi Yuniar,
Thank you, It's working now but only for PLAN. FNAME and LNAME stay empty. I guest because they are part of "element_2".
Do you know how getting value for "element_2_1" and "element_2_2"?
{
"apikey": "XXXX-us5",
"id": "XXXX",
"email": {
"email": "{element_3}"
},
"FNAME": {
"FNAME": "{element_2_1}"
},
"LNAME": {
"LNAME": "{element_2_2}"
},
"PLAN": {
"PLAN": "{element_4}"
},
"double_optin": false,
"update_existing": true,
"replace_interests": true,
"send_welcome": true
}Thank you, Michel
Posted 10 years ago # -
Try this one:
{ "apikey": "XXXX-us5", "id": "XXXX", "email": { "email": "{element_3}" }, "merge_vars": { "FNAME": "{element_2_1}", "LNAME": "{element_2_2}" }, "PLAN": { "PLAN": "{element_4}" }, "double_optin": false, "update_existing": true, "replace_interests": true, "send_welcome": true }
MachForm Founder
Posted 10 years ago # -
Yes Sir! It work!
Thank you for your excellent after sale service!
Michel
Posted 10 years ago # -
I was having problem with the code you gave to me. I was abel to send to Mailchimp the name and the first name but PLAN was no more sent to Mailchimp.
So the idea is to put all inside "merge_vars": {
{
"apikey": "XXX-us5",
"id": "XXX",
"email": { "email": "{element_3}" },"merge_vars": {
"PLAN": "{element_4}",
"FNAME": "{element_2_1}",
"LNAME": "{element_2_2}"},
"double_optin": false,
"update_existing": true,
"replace_interests": true,
"send_welcome": true
}Posted 10 years ago # -
Hi,
Is it possible to sent data to Mailchimp only if a checkbox is checked?
Like :
if "{element_5}" is selected
{
"apikey": "XXXX",
"id": "XXXX",
"email": { "email": "{element_3}" },
"merge_vars": {"EMAIL": "{element_7}",
"FNAME": "{element_2_1}",
"LNAME": "{element_2_2}"},
"double_optin": false, "update_existing": true, "replace_interests": true, "send_welcome": true }
I'm not a programmer so if it's possible can you give to me the right syntax?
Thank you for your help!
Posted 9 years ago # -
Yes, it is possible to do so. Simply go to Logics setting page and create a rule for the webhook. Use the checkbox as the rule condition.
MachForm Founder
Posted 9 years ago # -
Wow that cool!
Thank you
Posted 9 years ago #
Reply
You must log in to post.