How to extract email field from webhook trigger payload

  • 6 July 2021
  • 1 reply
  • 193 views

Hi Zapier Team,
I have a question which needs answer from zapier supportive Team.

I have created a zap with trigger as ‘Webhook by Zapier’ and action as “Send Email”. On action it ask me for send emails fields like To, From, Subject. Fill all the fields by dummy text and create a Zap. 

My question is how can i map the payload keys and data which sent from webhook url to the send email fields.

Like if i send a payload: [ user:
                                           {name: “Jhon”, email: “test@test.com”, message: “Dummy Email”}
                                       ]

How can i map this payload to the ‘Send Email’ fields in action like email field → user[:email] while configuring the action


This post has been closed for comments. Please create a new post if you need help or have a question about this topic.

1 reply

Userlevel 7
Badge +12

Hi @yaseen 

If you are using the Zapier webhook trigger, Zapier will attempt to parse the payload. If you are catching a raw hook and working with raw JSON string, you can parse it in a code block to then use in a later step.