The issue I am hitting I beleive comes down to the fact that the App I am hitting expects the data to define ‘user’.
I have no issues sending the info from Zapier when I hardcode the payload as defined below.
"name": "Urna Semper",
The issue comes when I leverage the Input Data. The App I am sending to expects it in the format above.
The test hits the App successfully… it just doesn’t do anything as it is expecting those three data elements defined as ‘user’.
Best answer by Troy TessaloneView original
Try using the Webhooks app instead of a Code step: https://zapier.com/apps/webhook/integrations#triggers-and-actions
Thanks Troy… this gets me almost there. The only thing I can’t figure out is how to get the elements of the user data passed as ‘user’. I’ve tried a couple of different things and can’t seem to close the gap. Any thoughts there? I read the documentation but must be missing something.
Try like this:
THE PYTHON METHOD:
THE RESULT :
THE WEBHOOK METHOD:
THE WEBHOOK RESULT:
For the User object, each value needs a preceding parameter.
So in the example below just replace the 3 values on the right side of each :
That is hardcoding it. It needs to be dynamic. The example is… every time a new customer buys a subscription, I pass that person’s data on to the third-party App to give them access. Make sense?
You can dynamically replace the value for each parameter.
For email, dynamically insert the email address. (“email”: “[EMAIL]”)
For name, dynamically insert the name. (“name”: “[NAME]”)
For tz, dynamically insert the time zone. (“tz”: “[TZ]”)
I actually just figured it out. I tried what you suggested and there was no way to get it to return anything but
Then I did a little more digging and it actually works better with he Python. I am going to try to make it work with the Webhook… but Bam I not only got it to work, but I found an issue with their API.