Solved

How to get FME Server Webhook Payload to Workspace in FME Desktop?

  • 25 October 2023
  • 2 replies
  • 21 views

Badge +1

I have setup a FME Server Webhook trigger in the automations section and want to put the payload received into a database table by running a workspace after the action is triggered. Please help or advise if this is not the correct way? Thank you #Automation​ #Webhook

icon

Best answer by ctredinnick 26 October 2023, 00:27

View original

2 replies

Userlevel 3
Badge +16

There is an article here which may help: https://community.safe.com/s/article/webhooks-and-fme-server

 

Working backwards, you want your workspace to write the payload to a database, so your workspace needs to get the payload. So you need a text parameter, to pass the payload into your workspace.

Then, in the FME Server automation, you can set the workspace parameter to receive the value of the webhook message content

imageTo test run on desktop, you'll need to get the actual webhook payload. If you don't know what it looks like, you can add a logger to the automation, then trigger the webhook to see what is received by FME Server.

Badge +1

There is an article here which may help: https://community.safe.com/s/article/webhooks-and-fme-server

 

Working backwards, you want your workspace to write the payload to a database, so your workspace needs to get the payload. So you need a text parameter, to pass the payload into your workspace.

Then, in the FME Server automation, you can set the workspace parameter to receive the value of the webhook message content

imageTo test run on desktop, you'll need to get the actual webhook payload. If you don't know what it looks like, you can add a logger to the automation, then trigger the webhook to see what is received by FME Server.

@ctredinnick​ This is perfect! Thank you for your response, I am able to do it now!

Reply