How to find and use webhook output parameters

I have a webhook that I created in Data Connection that seems to work when I test it at the end.

I set up output parameters during the webhook configuration but when I link the webhook to an Action in my Workshop application and execute it, I can’t find where those output parameters have been written to. I’d like to display the output parameters in a widget in Workshop but I can’t find any documentation that says how to access them.

Thanks for any and all help!

If you have it hooked up as a side effect of your Action Type (ie a Rule), it’s available at runtime and can be written to an object property. If it’s not written to an object property, it’s not persisted anywhere else and will only be available in the History page of your webhook like you show in your screenshot.

Something you might consider doing is writing and publishing a TypeScript function in a Code Repo. You’d import your Weather API source and you can hit your webhook from code. Make it return a string (or a struct if multiple values are returned), and then from workshop you can create a function-backed string (or struct, whatever your function’s return type is) to store and then display the returned value(s).

@joshOntologize I was able to get what I needed after following this video from Ontologize (great resource by the way). My mistake was, as you seemed to be steering me towards, was that I wasn’t creating/editing an Object with the response.

1 Like