Appearance
Segment webhook setup
Steps
- Go to your 'Destinations' link on your sidebar and click on 'Add destination'

- Search for 'webhook' in destinations search box & Select 'Webhooks (Actions)'

- Click on 'Add destination'

- Select your website/app/product data source and click on next

- Give the destination a name and opt for 'Fill in settings manually' and click 'Create Destination'

- Enter the webhook shared secret a the settings page and click 'Save Changes'

- Go to the 'Mappings' tab and create a new mapping

- Select 'Send' as the type

- Add 2 event types as 'any' condition like shown for the 1st step

- Paste
{ "messageId": "segment-test-message-exnwfe", "timestamp": "2024-05-06T11:44:22.078Z", "type": "track", "email": "[email protected]", "properties": { "property1": 1, "property2": "test", "property3": true }, "userId": "test-user-p4b8mg", "event": "test_event" }
as a sample event to test later
11. Get your segment URL from Obsidian app's settings (Settings and Members right side navbar)
12. Paste the URL in step 3
13. Send a test event to verify the webhook integration. You should see a "Success" message and status 200 . Hit 'Save' to finish creating the mapping.
14. Enable both the mapping you've just created (the toggle on the 'Mappings tab') & the destination (the toggle on the 'Settings' tab). Finally click on 'Save Changes' to finish the process.
Your Segment webhook integration with Obsidian is now live.
