Trigger iPaaS webhook from a script with parameters

With iPaaS flows, is it possible to create a custom webhook trigger that can take in data, process it, and then return a result? And if so, is there specific documentation on how the webhook authentication and data are passed?

I know I can create a custom webhook trigger, but I can't seem to authenticate to the flow URL or send it data.

We have scripts used in some endpoint management tasks (imaging, for one) that currently pull computer name info from older databases. While we can, and do, use direct TdX API queries, it would be more convenient to send a known asset serial number to an iPaaS flow, do the look ups, data parsing, error trapping, etc. and return the piece of data we want, which in this case is the computer name.

Asked by Jason Pelletier on Fri 11/11/22 4:28 PM
Sign In to leave feedback or contribute an answer

Answer (1)

This answer has been marked as the accepted answer
Mark Sayers Mon 11/14/22 10:17 AM

Hello Jason,

This is the best doc to use for setting this up: Article - Triggering iPaaS from a Web... (teamdynamix.com)

Also WaitForResults has to be true, and the data comes back under 'data'.

Let me know if that helps.

Sincerely,
Mark Sayers
Sr Support Consultant, CS

No feedback
So I think I was able to get it to mostly work over the weekend, however it isn't clear how to set up the authentication/authorization. I've tried following this article, https://solutions.teamdynamix.com/TDClient/1965/Portal/KB/ArticleDet?ID=117951, however there isn't a lot of information on how to actually pass the authentication. For example, if using the API key option, I've tried setting up the key in both the header and query options, and both are forbidden access.

I can make the trigger work if I have no authentication set all so that's where I'm stuck I think.
- Jason Pelletier Mon 11/14/22 11:08 AM
After some trial and error, I have the API key working in the call. Now the next steps are to set my response body so I can actually receive data back from the call, which is the intent in the first place! - Jason Pelletier Mon 11/14/22 11:58 AM
And we're in business. A bit of trial and error but we're now able to leverage an API key to run a flow and return the data we want. Thanks for the help. - Jason Pelletier Mon 11/14/22 1:30 PM