In short
An automation reacts to something that happens in your member area, such as a member completing a lesson or their access running out soon. It then tags them in your autoresponder or calls a webhook, for example to feed Zapier or Make.
WhereAutomations
- Click New automation.
- Open a group (Accesses, Progress, Timings or Member) and pick the trigger, for example Member has completed a lesson.
- Choose the Course and, depending on the trigger, the module, lesson, test or file. You can pick several: each one gets its own automation.
- For triggers with a time span or share, enter the Days or Percent.
- Under Webhook, enter the URL to call, or leave it empty if you only want to tag.
- Leave Active ticked and click Create.
You set the autoresponder tag once the automation is saved: click the automation in the list and choose what should happen under Autoresponder. That is also where Send test call lets you check that your webhook arrives.
How many automations can run depends on your plan. Beyond that, new automations are still created but stay paused, and the list offers Upgrade to activate instead of Activate.
All triggers at a glance
Accesses (per course)
- Access granted
- Access expired
- Access will expire in X days: fires the number of days you enter before the access ends.
These three count per access, not per member: someone who buys again runs through them again.
Progress
- Member has completed X% (per course, 10 to 100%)
- Member has completed a module
- Member has completed a lesson
- Member has completed a test: the webhook reports every attempt, the tag is only applied when the test was passed.
- Member has completed all tests (per course)
- Member has downloaded a file
Timings
- Member got access to new module
- Member got access to new lesson
Member
- Member didn't log in for X days: covers the whole member area, not one course.
Days range from 1 to 1000.
Details and technical
Managing automations
- The filter icon narrows the list by trigger and course.
- A row's menu offers Pause, Activate, Duplicate, Delete and the Log. Duplicating copies everything except the target, which you pick again.
- Tick several rows to activate, pause or delete them together.
- There is only one automation per trigger and target. Duplicates are skipped when you create them.
- An automation only reacts to what happens after it is switched on, never to past events.
What the webhook sends
Each time it fires, COACHY sends a POST request with form fields to your URL, including event, member_email, member_firstname, member_lastname, product_name and, depending on the trigger, fields like lesson_name, access_name or event_days. Every call also carries event_timestamp (your member area's local time), event_timestamp_utc and sha_sign. The Log shows the exact Payload of every call.
The URL must be reachable from the internet. Internal addresses are refused.
Webhook settings
Webhook settings at the top of the page holds your Secret key, which lets your endpoint check that a call came from COACHY, and the Email address for error notifications.
When a webhook fails
If the URL answers 403, 404 or 410, or does not answer at all, three times in a row, only the webhook is paused and marked Webhook paused. The automation keeps running and tagging. You, your administrators and the error notification address are told once. Resume webhook in the row menu, or a new URL, starts the count over. Test calls do not count.
Test call
Send test call sends sample data with a made-up member to the URL in the form, even before you save it. You may have to wait a moment between test calls.
Team
Team members only see automations with the permission Team member can manage automations and webhooks.