Page 1 of 1

Webhooks without metadata module

Posted: Fri Aug 19, 2022 4:06 pm
by DustinYoder
So what exactly can I accomplish with webhooks if I don't have the metadata module. Can I get to the POST data to use as variables or can I write out the POST data as a CSV, XML, JSON or anything that I can use the data in the POST fields later in the flow to download files, etc? Seems like there isn't much I can do 'out of the box' with webhooks. At least not anything that seems to be documented.

Re: Webhooks without metadata module

Posted: Fri Aug 19, 2022 4:20 pm
by vernonvd
DustinYoder

The metadata module is the key ingredient to get the variables in the flow as metadata. One example i use a webhook for that i don't worry about the post info is just to inject a job into a flow. every time the webhook is send the flow will inject a pdf.

Re: Webhooks without metadata module

Posted: Fri Aug 19, 2022 4:33 pm
by DustinYoder
How are you injecting a PDF into the flow using webhook?

Re: Webhooks without metadata module

Posted: Fri Aug 19, 2022 5:33 pm
by vernonvd
As the webhook post enters the flow use the Inject job element. Use the incoming text or json file to trigger the inject job. all the settings will be on the outgoing connector of the inject job. :)

Re: Webhooks without metadata module

Posted: Fri Aug 19, 2022 5:46 pm
by DustinYoder
Thanks, I'm a programmer, but very new to how Switch works. So I appreciate the help.

Re: Webhooks without metadata module

Posted: Fri Aug 19, 2022 5:54 pm
by vernonvd
Check your private message