• Documentation
  • Workato Blog
  • Product Blog
  • Return to Workato
  • Login
  • Automation Institute
  • Documentation
  • Community Forums
New Topic
Discussions Recipe Building Recipe Building Questions
S

Saul Macht

started a topic over 5 years ago
Answered

How can I view/access HTTP response headers from HTTP requests

Hi, I am currently in the process of building out a recipe which relies on a HTTP webhook trigger. In this recipe, I would like the trigger to be only triggered if the HTTP request contains some header info i.e. Bearer. Would appreciate any help with this issue.


Best Answer
B
Bryan Yap said over 5 years ago

Hi Saul, this behaviour is definitely possible to achieve using our HTTP Webhook Trigger. I've created a recipe at https://www.workato.com/recipes/618213#recipe which illustrates how this can be done.


I've pasted a screenshot of the trigger details below. Basically, in order for the trigger to work, you will need to specify the Expected request headers in the trigger configuration (like shown in the image below). If this step is not done, then the data pills representing those pieces of information will not be reflected in the data tree, hence preventing you from making use of the header data within your recipe.


image


Answer

Bryan Yap

said over 5 years ago

Hi Saul, this behaviour is definitely possible to achieve using our HTTP Webhook Trigger. I've created a recipe at https://www.workato.com/recipes/618213#recipe which illustrates how this can be done.


I've pasted a screenshot of the trigger details below. Basically, in order for the trigger to work, you will need to specify the Expected request headers in the trigger configuration (like shown in the image below). If this step is not done, then the data pills representing those pieces of information will not be reflected in the data tree, hence preventing you from making use of the header data within your recipe.


image


Login to post a comment

Still can't find your solution?

Send us a ticket, we will try our best to assist you with your problem

Documentation
Developer's Library
Tutorials
eBooks
Product Hour
Product Blog
Workato Blog
Product updates
Customer Stories
© Workato 2022   Privacy   Terms   +1 (844) 469-6752
  • Documentation
  • Workato Blog
  • Product Blog
  • Solutions
  • Forums
  • Tickets
  • Log in
  • Return to Workato
Topic views count