Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
indigo_2025.1_documentation:webhooks [2026/02/03 19:20] – [Synology NAS Webhook Example] davel17indigo_2025.1_documentation:webhooks [2026/02/03 19:45] (current) – [Test Your Webhook] davel17
Line 259: Line 259:
   - Save your Trigger.   - Save your Trigger.
  
-<img src="/Users/Dave/Temp/Screenshot 2026-02-03 at 10.23.27 AM.png" style="zoom:50%;" alt="Trigger Setup" />+{{:indigo_2025.1_documentation:synology_nas_webhook_trigger.png?600|Webhook Trigger}}
  
-<img src="/Users/Dave/Temp/Screenshot 2026-02-03 at 10.27.35 AM.png" alt="Webhook Config" style="zoom:50%;" /> +{{:indigo_2025.1_documentation:synology_nas_webhook_config_post.png?600|Webhook Trigger Config}}
- +
-<img src="/Users/Dave/Temp/Screenshot 2026-02-03 at 10.23.36 AM.png" alt="Trigger Action" style="zoom:50%;" />+
  
 +{{:indigo_2025.1_documentation:synology_nas_webhook_action.png?600|Webhook Action}}
 === Setting Up Synology DSM Webhooks === === Setting Up Synology DSM Webhooks ===
  
Line 273: Line 272:
   - Click the "Add" button to add a new webhook.   - Click the "Add" button to add a new webhook.
   - Choose a Notification Rule, enter a Provider Name, and Subject   - Choose a Notification Rule, enter a Provider Name, and Subject
-  - Enter the configured webhook URL which should have a form similar to this: `https://MY_REFLECTOR_NAME.indigodomo.net/webhook/MY_INDIGO_WEBHOOK_ID?api-key=MY_INDIGO_API_KEYwhere you replace `MY_REFLECTOR_NAME``MY_INDIGO_WEBHOOK_ID`, and `MY_INDIGO_API_KEYwith values from your Indigo setup. Use the webhook ID you got from the Indigo Webhook Trigger. For the API key, you can also use a local secret. +  - Enter the configured webhook URL which should have a form similar to this: **''https://MY_REFLECTOR_NAME.indigodomo.net/webhook/MY_INDIGO_WEBHOOK_ID?api-key=MY_INDIGO_API_KEY''** where you replace **''MY_REFLECTOR_NAME''****''MY_INDIGO_WEBHOOK_ID''**, and **''MY_INDIGO_API_KEY''** with values from your Indigo setup. Use the webhook ID you got from the Indigo Webhook Trigger. For the API key, you can also use a local secret. 
-8. Click Next (or switch to the HTTP Request tab). +  Click Next (or switch to the HTTP Request tab). 
-9. Adjust the request as needed -- can leave at defaults for your first webhook. +  Adjust the request as needed -- can leave at defaults for your first webhook. 
-10. Save your webhook.+  Save your webhook.
  
-<img src="/Users/Dave/Temp/Screenshot 2026-02-03 at 9.46.11 AM.png" alt="DSM Provider" style="zoom:50%;" />+{{:indigo_2025.1_documentation:synology_nas_webhook_provider.png?600|Webhook Provider}}
  
-<img src="/Users/Dave/Temp/Screenshot 2026-02-03 at 9.47.04 AM.png" alt="DSM HTTP Request" style="zoom:50%;" />+{{:indigo_2025.1_documentation:synology_nas_webhook_request.png?600|Webhook Request}}
  
 === 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" button. +  Press the "Send Test Message" button. 
-3. Confirm the webhook worked (depends on the Action options you chose above.) An example event log success message:+  Confirm the webhook worked (depends on the Action options you chose above.)  
 + 
 +An example event log success message:
  
 <code bash> <code bash>
 Trigger     Synology Webhook Event Trigger     Synology Webhook Event
 Email+      sending email 'Synology Webhook Event' to '[email protected]' using Email+ SMTP Server Email+      sending email 'Synology Webhook Event' to '[email protected]' using Email+ SMTP Server
-</code+</code>
  
-<img src="/Users/Dave/Temp/Screenshot 2026-02-03 at 10.07.39 AM.png" style="zoom:50%;" />+And the notification! 
 + 
 +{{:indigo_2025.1_documentation:synology_nas_webhook_email.png?600|Webhook Email}}
  
 === 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://wiki.indigodomo.com/doku.php?id=indigo_2025.1_documentation:webhooks)  for more information. +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:webhooks|Webhooks Page]] for more information.  
 + 
  • /www/perceptive/wiki/data/attic/indigo_2025.1_documentation/webhooks.1770146415.txt.gz
  • Last modified: 2026/02/03 19:20
  • by davel17