Editing Webhooks

Jump to: navigation, search

Warning: You are not logged in. Your IP address will be publicly visible if you make any edits. If you log in or create an account, your edits will be attributed to your username, along with other benefits.

The edit can be undone. Please check the comparison below to verify that this is what you want to do, and then save the changes below to finish undoing the edit.
Latest revision Your text
Line 50: Line 50:
 
Here, in some detail, is how to set up app-based mobile notifications using the IFTTT service. Slight variations on this can be used to select other actions once the webhook is received by IFTTT.  
 
Here, in some detail, is how to set up app-based mobile notifications using the IFTTT service. Slight variations on this can be used to select other actions once the webhook is received by IFTTT.  
  
'''1.''' Create a free account at [http://ifttt.com IFTTT.com]. For mobile alerts, install their mobile app as well.
+
1. Create a free account at [http://ifttt.com IFTTT.com]. For mobile alerts, install their mobile app as well.
  
'''2.''' Click the '''Create''' button to begin creation of an “applet”.
+
2. Click the Create button to begin creation of an “applet”.
  
'''3.''' Click the '''Add''' button next to “If This”.
+
3. Click the Add button next to “If This”.
  
'''4.''' On the next screen, “Choose a service,” type “webhooks” in the search box. Then, click the Webhooks service to select it.
+
4. On the next screen, “Choose a service,” type “webhooks” in the search box. Then, click the Webhooks button to select it.
  
'''5.''' On the next screen, “Choose a trigger”, select “Receive a web request”.
+
5. On the next screen, “Choose a trigger”, select “Receive a web request”.
  
'''6.''' The next screen, “Complete trigger fields”, asks for an Event Name. Give it a name, maybe “axidraw_done”, then click '''Create Trigger'''.
+
6. The next screen, “Complete trigger fields”, asks for an Event Name. Give it a name, maybe “axidraw_done”, then click the Create Trigger.
  
'''7.''' Click the '''Add''' button next to “Then That”.
+
7. Click the Add button next to “Then That”.
  
'''8.''' Select and configure an action to trigger when a plot completes. We recommend the “Notifications” service, which gives mobile notifications from the IFTTT app, on Android or iOS. If using Notifications, choose the basic “Send a notification from the IFTTT app” option.
+
8. Select and configure an action to trigger when a plot completes. We recommend the “Notifications” service, which gives mobile notifications from the IFTTT app, on Android or iOS. If using Notifications, choose the basic “Send a notification from the IFTTT app” option.
  
'''9.''' Complete the “action fields” for the action that you have selected. For Notifications, the text can be as simple as “Plot done”, or if you would like to use the data fields, as complex as  
+
9. Complete the “action fields” for the action that you have selected. For Notifications, the text can be as simple as “Plot done”, or using data fields, as complex as “AxiDraw {{Value3}} finished document {{Value1}} in {{Value2}}.
<pre>AxiDraw {{Value3}} finished document {{Value1}} in {{Value2}}.</pre>
+
Click the Create Action button to finish adding it. Then click Continue to review.
  
Click the '''Create Action''' button to finish adding it. Then click '''Continue''' to review.
+
10. Optionally rename the applet; click Finish to complete.
  
'''10.''' Optionally rename the applet; click '''Finish''' to complete.
+
11. The completed applet should be displayed similar to here, with a brief summary of its settings. Click the “webhook” symbol on the applet; shown circled here, and then click the Documentation button.
  
'''11.''' The completed applet should be displayed similar to here, with a brief summary of its settings. Click the “webhook” symbol on the applet; (a somewhat triangular shape with circular corners), and then click the '''Documentation''' button.
+
12. On this page is the webhook URL.
 
 
'''12.''' On this page is the webhook URL.
 
  
 
Fill in the {event} placeholder with your Event Name (“axidraw_done”, in our example) to get the final URL. The webhook URL typically looks like:
 
Fill in the {event} placeholder with your Event Name (“axidraw_done”, in our example) to get the final URL. The webhook URL typically looks like:
 
         <code>https://maker.ifttt.com/trigger/axidraw_done/with/key/PRIVATE_KEY</code>
 
         <code>https://maker.ifttt.com/trigger/axidraw_done/with/key/PRIVATE_KEY</code>
  
'''13.''' Copy and paste the full URL into the '''Webhook URL''' field in the Preview & Alerts tab of Axidraw Control.
+
13.  Copy and paste the full URL into the Webhook URL field of Axidraw Control.

Please note that all contributions to Evil Mad Scientist Wiki are considered to be released under the GNU Free Documentation License 1.3 (see Evil Mad Scientist Wiki:Copyrights for details). If you do not want your writing to be edited mercilessly and redistributed at will, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource. Do not submit copyrighted work without permission!

To edit this page, please answer the question that appears below (more info):

Cancel | Editing help (opens in new window)

Template used on this page: