Event Trigger

This document will guide admins to add an IFTTT “Event Trigger” to any folder on their site that will send a trigger to IFTTT when an event at or below the current path is published. This will allow them to create IFTTT applets to, for example, add new events to my calendar.

Pre-requisite: IFTTT secret key should be configured as discribed at Configuring a Plone Site with an IFTTT Secret Key.

Follow the steps given below to Add an IFTTT Content Trigger onto any folder.

  1. Traverse to folder on which you desire to apply IFTTT content trigger.
  2. From IFTTT menu select Add Ifttt Event Trigger
_images/select_actions.png
  1. Fill the given form with required values and click Add
_images/fill_form1.png
  1. Tada, trigger has been applied on your folder!!
_images/success1.png

Behind the Scenes

This section details all jobs performed behind the scenes after form gets filled.

1. A new Content Rule is dynamically created and assigned with requested conditions and IFTTT event name for this folder and it’s sub-folder.

To know more about content rules, follow this link.

  1. Rules menu on left bar will show you all content rules applied on this folder.
_images/rule_tab1.png

Content Rule Conditions

  1. Default Trigger condition for this content rule is: Workflow state changed

2. Default contition for this content rule is: Workflow State as published

3. Default contition for this content rule is: Content types as Event

Data sent to IFTTT applet

In the data sent to IFTTT, following values will be dynamically included (for which content on the site this content rule triggers):

  • Title
  • Absolute_url
  • Event start date/time