Jump to content

Using 'Post in Webhooks by Zapier'

Go to solution Solved by 700newtons,

Recommended Posts

Hello ,

I trying to set up an arrangement so that if someone joins a Club, they automatically follow its content.

I have successfully set up the trigger on zapier which recognises when someone joins a club. However, after an afternoon of trying, I can't get POST to create follow the update.

I'm trying to use the API post function with  core/members/{id}/follows

Here are the text boxes on zapier.

URL: https://{my_URL_here}/api/core/members/{member_id}/follows/?key={my key here}

Payload: json




{id number of club here}

Wrap Request in array: no

File: {left blank}

Unflatten: yes

Basic Auth: {left blank}

Headers: {left blank ?}


I have tried all sorts of combinations, but no joy.

Any advice?

Thanks in advance.



Link to comment
Share on other sites

  • Solution

Ah, fixed it by posting with python code in zapier. Probably a weird way to do it but it works...

import requests
api_url_follow = '{my_URL}/api/core/members/'+input_data['member_id']+'/follows/?key={the_API_key}'
todo_follow = {
response = requests.post(api_url_follow, data = todo_follow)
Link to comment
Share on other sites

Seeing if you're passing the same information over the two mediums, it really would like be an issue with the variables which are created and passed. I would just verify the variables being passed in Zapier.

Link to comment
Share on other sites

  • Recently Browsing   0 members

    • No registered users viewing this page.
  • Create New...