Differences
This shows you the differences between two versions of the page.
| Both sides previous revision Previous revision Next revision | Previous revision | ||
| indigo_2025.1_documentation:webhooks [2026/02/03 19:34] – davel17 | indigo_2025.1_documentation:webhooks [2026/02/03 19:45] (current) – [Test Your Webhook] davel17 | ||
|---|---|---|---|
| Line 261: | Line 261: | ||
| {{: | {{: | ||
| - | {{: | + | {{: |
| {{: | {{: | ||
| Line 283: | Line 283: | ||
| === Test Your Webhook === | === Test Your Webhook === | ||
| - | 1. Select your new Synology web hook if it's not already selected. | + | - Select your new Synology web hook if it's not already selected. |
| - | 2. Press the "Send Test Message" | + | |
| - | 3. Confirm the webhook worked (depends on the Action options you chose above.) An example event log success message: | + | |
| + | |||
| + | An example event log success message: | ||
| <code bash> | <code bash> | ||
| Trigger | Trigger | ||
| Email+ | Email+ | ||
| - | </code | + | </code> |
| + | |||
| + | And the notification! | ||
| {{: | {{: | ||
| Line 296: | Line 300: | ||
| === Customize Your Webhook Event === | === Customize Your Webhook Event === | ||
| - | Now that you've confirmed that your Indigo Webhook event is working properly, you can customize it to make it even more useful. Because we've selected a POST event, the Synology DSM webhook will pass DSM event data to Indigo. You can use that payload to take different actions. When an Indigo POST web hook is triggered, it includes the payload that was POSTed. You can access this payload with a Python script. The payload is sent as JSON, so you can access the DSM event information by working with the `event_data` payload that's sent to the trigger. See the [Indigo Webhook Wiki Page](https:// | + | Now that you've confirmed that your Indigo Webhook event is working properly, you can customize it to make it even more useful. Because we've selected a POST event, the Synology DSM webhook will pass DSM event data to Indigo. You can use that payload to take different actions. When an Indigo POST web hook is triggered, it includes the payload that was POSTed. You can access this payload with a Python script. The payload is sent as JSON, so you can access the DSM event information by working with the `event_data` payload that's sent to the trigger. See the [[indigo_2025.1_documentation: |
| + | |||