Other: Provide Additional Field to Webhook Payload
AnsweredEach connector comes with a source ID in addition to the connector_id.
For Salesforce, you call this the "Saleforce Org ID."
You also provide a similar ID for Dynamics.
We store that source Id and use it often (we call it SystemId internally)
We're asking that Id be included in your existing webhook payload.
Something like this (just an example):
{ "event" : "sync_end", "created" : "2021-08-18T11:38:34.386Z", "connector_type" : "asana", "connector_id" : "mystified_presiding",
"source_system_id": "00Di0000000bKfQEAU""connector_name" : "mystified_presiding", "sync_id" : "mystified_presiding", "destination_group_id" : "deck_enjoy", "data" : { "status" : "SUCCESSFUL" } }
-
Official comment
Hey Dave,
Thanks for writing in. Can you explain how you utilize this currently and what it allows you to do?
Thanks!
Jimmy
-
hi Jimmy,
Your webhook triggers one of our services to perform a series of tasks. The service tries to identify the connector and tenant based on the data on the webhook event, but we need the "source system id" (Org Id) as we use that field to identify each connector. Today, the service needs to call another service to retrieve that Id. So, having the Id on the webhook event would eliminate that extra dependency. I think having the additional field on the webhook would benefit other customers as well.
Please sign in to leave a comment.
Comments
2 comments