Totally noob needs help creating a webhook
Hello,
I'm trying to pass over data to mailchimp with a webhook. So I created a webhook in an app. However I have no Idea where I can put the data to be passed over. There is only a single URL field.
Mailchimp API reference says data has to be passed over in JSON format, which podio api seems to support.
Mailchimp wants data in that form (example from here http://developer.mailchimp.com/documentation/mailchimp/guides/get-started-with-mailchimp-api-3/ ):
curl --request POST \
--url 'https://usX.api.mailchimp.com/3.0/lists' \
--user 'anystring:apikey' \
--header 'content-type: application/json' \
--data '{"name":"Freddie'\''s Favorite Hats","contact":{"company":"MailChimp","address1":"675 Ponce De Leon Ave NE","address2":"Suite 5000","city":"Atlanta","state":"GA","zip":"30308","country":"US","phone":""},"permission_reminder":"You'\''re receiving this email because you signed up for updates about Freddie'\''s newest hats.","campaign_defaults":{"from_name":"Freddie","from_email":"freddie@freddiehats.com","subject":"","language":"en"},"email_type_option":true}' \
--include
So what do I have to input in the webhook URL-field to make such a post?
I tried:
https://us12.api.mailchimp.com/3.0/lists/*mylistid*?user=anystring:*mymailchimpapikey*
but no veryfication...
-
Hi Alexander,
Podio webhooks cannot point to Mailchimp directly. You can either use a ready-made solution like Zapier: https://zapier.com/zapbook/podio/mailchimp/
Alternatively you'll need to set up your own endpoint which can receive the webhook from Podio and make a request to the Mailchimp API.
Best,
Andreas -
Thanks! I had a look on zapier. However it does noct do what I'm trying to. I also
What I want to do is to make mailchimp send a Newsletter (campaign) and use the content from an podio app.
My contacts are already in sync between podio and mailchimp.
My podio Newsletter-app has fields like "Subject", "introduction", "News #1", "News #2" etc. and "send".
If I click send, mailchimp should send.
Maybe it works teh other way round. I create the Newsletter in mailchimp and it is automatically imported to podio?
Or maybe there are other (free) services that match my needs.
Thanks!
-
As you say yourself you are not familiar with how webhooks work. You should start by studying first so you understand how they work.
Start with https://developers.podio.com/examples/webhooks
-
Is it possible to pass a parameter using a Podio webhook? E.g. our Podio app has a field called 'project-name'.
Can we pass this field value to an external webapp using the webhook URL?
OR should the Podio webhook trigger the external app that will use the item_id from the webhook to make a GET call to Podio and get the value of the field project-name?
Thanks
Please sign in to leave a comment.
Comments
4 comments