Skip to main content
Question

How can I send data from trigger bundle.rawRequest to creates perform(bundle object) or other way

  • July 1, 2024
  • 1 reply
  • 32 views

Hello everyone,

We are considering building an zapier integration(cli) and i’m currently building a demo app,but i’m stuck with the following problem:

Our app uses API-KEY authentication and REST Hook trigger,but i when i send some data to the trigger via the webhookURL i want to extract a specific header from that  request which i can in the trigger:

 

const perform = async (z, bundle) => {
#how can i fetch here my desired http-header and parse it to the creates module ? 

bundle.rawRequest.headers[‘Http-My-Header’]

return [bundle.rawRequest];

};

 

but i don’t know how to parse that value to the creates section so that i can send back to my server ? 

Since its not a user input field i would like to avoid using the input fields for that .

Thanks .

Did this topic help you find an answer to your question?
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

Troy Tessalone
Forum|alt.badge.img+14