Webhooks without metadata module

Post Reply
DustinYoder
Newbie
Posts: 5
Joined: Mon Jul 24, 2017 6:17 pm

Webhooks without metadata module

Post 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.
User avatar
vernonvd
Member
Posts: 38
Joined: Tue Oct 09, 2012 9:21 am
Location: Pretoria, South Africa

Re: Webhooks without metadata module

Post 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.
DustinYoder
Newbie
Posts: 5
Joined: Mon Jul 24, 2017 6:17 pm

Re: Webhooks without metadata module

Post by DustinYoder »

How are you injecting a PDF into the flow using webhook?
User avatar
vernonvd
Member
Posts: 38
Joined: Tue Oct 09, 2012 9:21 am
Location: Pretoria, South Africa

Re: Webhooks without metadata module

Post 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. :)
DustinYoder
Newbie
Posts: 5
Joined: Mon Jul 24, 2017 6:17 pm

Re: Webhooks without metadata module

Post by DustinYoder »

Thanks, I'm a programmer, but very new to how Switch works. So I appreciate the help.
User avatar
vernonvd
Member
Posts: 38
Joined: Tue Oct 09, 2012 9:21 am
Location: Pretoria, South Africa

Re: Webhooks without metadata module

Post by vernonvd »

Check your private message
Post Reply