Question

Provide specific response body to Webhook POST from 3rd party app

  • 15 March 2024
  • 1 reply
  • 13 views

Badge +1

Hello everyone-

Hoping that someone may be able to help with this question!

Is there a way to provide a specific required JSON Response body (for example:  {“status”:”OPERATION_OK}  ) to a 3rd party application in response to a successful post to an FME Flow Automation with a Webhook trigger?

 

I feel like I’m missing something obvious here….

Any help would be greatly appreciated!

Mike


1 reply

Userlevel 5
Badge +29

I don’t think you can customise the Automations to that extent (although I haven't used them much so I might be wrong).

What you could do is instead of calling the Automation, call a workbenchs that is setup:

  • As a streaming service, with a textwriter writing the appropriate JSON
  • To call/trigger the automation

It does add an extra link in the chain, but may be the only way to achieve what you’re after….

 

Reply