Start Here π
This article will help you configure webhooks inside Freshwork Automations to send server events to Cometly.
Step 1: Select 'Post' as request type
Create a new Freshworks webhook automation and configure the trigger based on the event you would like to send to Cometly.
Step 2: Callback URL
For the Callback URL enter:
Step 3: Authentication
Configure authentication using Cometly's API key which you can find located inside of your Cometly account under "Space Settings" > "Cometly API"
In Freshworks, select "Requires Authentication"
For the API key, enter Bearer XXXXXXXXXXXXXXXX
Use your Cometly API Key in replace of XXXXXXXXXXXXXXXX.
Example:
Bearer 82828D72FHDGELWL827273847dDDFFDG
Step 4: Content
Encoding format: JSON
The only static value should be event_name as the key with a value of the name of the event that can be found in the Cometly developer documentation in the fields section.
Content
The content keys should match the fields in the Cometly developer documentation and the property values are dynamic
Important: An event_name and email are required in the payload. You may add any other fields available in the Cometly developer documentation to the payload.
Save the Webhook configuration.
Enroll a contact to test and check the Events Log in Cometly to ensure the server event was received.
Here are additional resources for Freshworks Webhook configurations: