Best answer

Instant Trigger Authentication is possible?

  • 17 February 2021
  • 2 replies
  • 24 views

Userlevel 1

Hi

At TeamworkIQ, we’d like to implement a security mechanism for the Webhook requests to be authenticated.

  1. Receive a secret as a response for the Subscribe operation that needs to be stored in the Zap context.
  1. Validate a header sent on each webhook request before triggering the zap

Is it possible to store a property received on the subscribe request in the bundle object for the zap? Or any other place?

CleanedRequest documentation mentions we could access the headers property, but trying to test this, I’ve only been able to get the body payload and a querystring property. Is it possible to have this validation on every webhook request received and accessing their header before proceeding to run the zap? 

icon

Best answer by khakman 18 February 2021, 04:00

Found a useful post 
 

 

View original

2 replies

Userlevel 1

Found a useful post 
 

 

Userlevel 4
Badge +7

Check out the subscribeData object.  This provides a context for data returned from the subscribe request so that you can reference it in the perform and unsubscribe.  https://zapier.github.io/zapier-platform/#bundlesubscribedata

Reply