Skip to main content
Solved

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


crstnaiw
Contributor
Forum|alt.badge.img+2

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

Best answer by ctredinnick

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.

View original
Did this help you find an answer to your question?

2 replies

ctredinnick
Supporter
Forum|alt.badge.img+18
  • Supporter
  • Best Answer
  • October 25, 2023

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.


crstnaiw
Contributor
Forum|alt.badge.img+2
  • Author
  • Contributor
  • October 26, 2023
ctredinnick wrote:

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!


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings