Workflows
A workflow is a fixed set of items that you give to a client. For example an intake, a weekly check-in, a training program and a welcome message. You create it once and use it again and again.
An admin creates workflows. Every coach can apply them to their own clients.
Workflows is in the Library (for an admin) and the Apply workflow button is in the client file.
What a workflow contains
A workflow is made up of Sections. You can add these kinds:
- a check-in
- a questionnaire
- a habit
- a metric
- a knowledge base section or article
- a training program
- a nutrition plan
- a supplement plan
- a Message: a text in the chat, optionally with an attachment
- a Tag: a label the client receives
You can only pick items that are in your own library. A knowledge base section or article is only possible if Visible to is set to Selected clients. See Visibility.
Creating a workflow
Only an admin sees Workflows in the library.
- Go to Library > Workflows and click New workflow.
- Give the workflow a Name. Leave the switch on Active. If it is Off, nobody can apply the workflow and it does not start by itself either.
- Under When, choose how the workflow starts. See When does a workflow start.
- Under For whom, choose which clients the workflow applies to. See For whom.
- Under Sections, click Add item and pick the kind first and then the item. You can tick several items at once and click Add.
- Give each item a Day. See On which day does the client get what.
- Click Create.
You can save later changes with Save changes. In the list of workflows you can also Duplicate a workflow. The copy has "[kopie]" after its name and stays off until you switch it on.
When does a workflow start
| Choice | What happens |
|---|---|
| By hand | The coach applies the workflow and picks the start day. |
| By itself, at a moment, New client | The workflow starts for a new client you add with Add new client. The start day is the start date of the subscription. An import starts nothing. |
| By itself, at a moment, Birthday | The workflow starts on the client's birthday, every year. Without a date of birth in the client file, nothing happens. |
| By itself, at a moment, Tag added | The workflow starts as soon as a coach or another workflow gives the client a certain tag. You pick the tag or type a new name. |
A workflow that starts by itself can also be applied by hand.
Each workflow starts once per client. For Birthday that is once per year.
For whom
- All clients: the workflow applies to everyone.
- Only if: the workflow only applies to clients with a certain Subscription or a certain Tag. Click Condition to add a row. If you pick a subscription and a tag, the client needs both. If you pick two subscriptions or two tags, one is enough.
For whom counts for every moment at which the workflow starts by itself. If a client does not match, the workflow does not start by itself. You can always apply it by hand.
On which day does the client get what
Each item starts on its own Day, counted from the start day.
- Day 0 is the start day. Day 7 is a week later. The maximum is day 365.
- A training program, nutrition plan or supplement plan begins on that day.
- The client gets all other items on that day at 07:00.
- If the day is already in the past, the item goes out right away.
- If the client already has an item, they do not get it again.
- A message arrives in the chat on behalf of the coach who applies the workflow. For a birthday, that is the client's coach.
- An article is only visible if the client can also see the section.
- If the client is archived by then, or the workflow is off, the client gets nothing.
If you remove an item or change a message, what was already planned no longer goes out.
Applying a workflow
You can apply a workflow in three places. You first see what will happen, and only then click Apply.
With a new client
- Click Add new client.
- Choose a Subscription and a Start date.
- Under Starts by itself you see the workflows that start by themselves for this client. That depends on the subscription and the tags you choose. Everything starts on the start date of the subscription.
- Do not want them to start? Tick Do not start automatically for this client.
- Want to add one yourself? Pick it under Another workflow by hand.
- Click Save client.
If a workflow has a training program with loose days, the form also asks for the client's Training days.
If someone picks a subscription through a Become a member form, the workflows also start by themselves. That happens as soon as they click Bestellen met betalingsverplichting (order with obligation to pay) after the confirmation email. See Forms.
In the client file
- Open the client's file.
- Click Apply workflow at the top.
- Choose the workflow and the Start date.
- Check what will happen and click Apply.
In the planner
In the planner, click the + of a day and choose Apply workflow under Other. The day you picked is the start day.
For several clients at once
An admin can give a workflow to several clients at once. Go to Library > Workflows, open the Actions menu next to the workflow and choose Assign to client. Pick the clients and one start date.
Following and stopping
On the Profile tab of a client you find the Workflows card. It appears as soon as a workflow has started for this client. You see:
- which workflows ran or are running for this client
- whether a coach started it by hand or it started by itself at a moment
- per day what has been given and what is still to come (planned)
- what was skipped, for example because the client already had it
Want to stop what is still to come? Click Stop planned parts on a running workflow. What the client already received stays.
Building a follow-up program
Let workflow A give a Tag at the end of a program. Let workflow B start on Tag added with that same tag. That way one program follows the other by itself.
Reminder for an open invitation
If an invitation has not been accepted after 3 days, Coachio sends it once more. See Inviting clients.