Updated Notify_ifttt (markdown)

master
Chris Caron 2019-02-12 19:39:05 -05:00
parent 09aff74813
commit f1f2e9d124
1 changed files with 2 additions and 10 deletions

@ -20,22 +20,14 @@ In the above example the **WebhookID** is ```b1lUk7b9LpGakJARKBwRIZ```. You will
### Syntax ### Syntax
Valid syntaxes are as follows: Valid syntaxes are as follows:
* **ifttt**://**{WebhookID}**@**{Event}**/ * **ifttt**://**{WebhookID}**@**{Event}**/
* **ifttt**://**{WebhookID}**@**{Event}**/**{Value1}**/ * **ifttt**://**{WebhookID}**@**{Event1}**/**{Event2}**/**{EventN}**/
* **ifttt**://**{WebhookID}**@**{Event}**/**{Value1}**/**{Value2}**/**{Value3}**/
By default you don't need to specify or override an ingredient (these are the **{{ValueX}}** entries). So the standard URL ```ifttt://{WebhookID}/{Event}/``` should work for everyone. By default the Notification you specify gets mapped to the Applet ingredients so:
* **{{Value1}}** = Notification Title
* **{{Value2}}** = Notification Body
* **{{Value3}}** = Notification Message Type (the text 'info', 'critical', etc)
There may be cases where you simply don't want to pass a notification message to your IFTTT web hook, You're goal is to just trigger the event (maybe it's going to flip a light switch for example). You can over-ride values like so (this disables the value entries - note that they must be lower-case!):
* **ifttt**://**{WebhookID}**@**{WebhookToken}**/**?value1=&value2=&value3=**
### Parameter Breakdown ### Parameter Breakdown
| Variable | Required | Description | Variable | Required | Description
| ----------- | -------- | ----------- | ----------- | -------- | -----------
| WebhookID | Yes | Your webhooks API Key you got from [the settings area of the webhooks service itself](https://ifttt.com/services/maker_webhooks) | WebhookID | Yes | Your webhooks API Key you got from [the settings area of the webhooks service itself](https://ifttt.com/services/maker_webhooks)
| Event | Yes | This is the **Event Name** you assigned to the Applet you created. This is the event plan on triggering through the webhook. | Event | Yes | This is the **Event Name** you assigned to the Applet you created. You must at least pass in one of these. This is the event plan on triggering through the webhook.
#### Example #### Example
Send a IFTTT notification: Send a IFTTT notification: