Skip to main content
Solved

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

  • October 25, 2023
  • 2 replies
  • 109 views

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.

This post is closed to further activity.
It may be an old question, an answered question, an implemented idea, or a notification-only post.
Please check post dates before relying on any information in a question or answer.
For follow-up or related questions, please post a new question or idea.
If there is a genuine update to be made, please contact us and request that the post is reopened.

2 replies

ctredinnick
Supporter
Forum|alt.badge.img+19
  • Supporter
  • 225 replies
  • 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
  • 9 replies
  • October 26, 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.

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