Create action trigger
To create a new trigger that will activate Action, you can use an outside service such as Zapier or generate your own request using the Action Link and Action Api Key.
Creating a Trigger on Zapier
1. Log in to the service https://zapier.com/ and open the Zaps tab in the left menu.
2. Click Make a New Zap and select the app to serve as the trigger. In the example below, this is Google Calendar.
- As a Trigger Event we selected the start of a new event created on Google Calendar (this means that the trigger will be activated with the start of the selected event on a calendar)
- Next, you need to select the appropriate Google account and, if required, to log in.
3. After that, select the appropriate Google calendar and test the correct operation of the trigger. After testing, a specific event can be selected on a calendar in the drop-down list. Click Continue.
4. The next step is to create an Action on Zapier.
- Enter Look in the search field and select the appropriate app from the list.
- Select Send Action as Action Event.
- Log in to Look app on Zapier. To do that, use the Action API key, which can be found in the Company Settings Section on the website https://app.lookit.hk/ by clicking the icon to the left of your company name. Copy your key and paste it into the appropriate field on the Zapier website. Click Yes Continue.
5. After logging into the Look app, select the appropriate Layout and Action to be affected by the trigger. Then click Continue → Test & Continue → Turn on Zap
Please note that Action may be activated immediately when tested for the first time. Therefore, if necessary, go back to the Look app and set the initial values for Layout and Action.
Creating a trigger using Action Link
To activate a trigger using Action Link, the HTTP GET request needs to be sent. For example, a request like curl will show as follows:
curl -v <action_link> -H look-api-key:<api_key>
1. action_link is a link from the Action settings.
2. api_key is the Action API Key from Company settings