Add multiple triggers in a workflow

In previous tutorials we have seen how to create a workflow with a single trigger. Now we are going to see how to add several triggers in a workflow.

We are going to create a workflow after a booking with three automations:

  • Send confirmation email.
  • Send reminder emails.
  • Send cancellation email.

To make it easier to follow this tutorial, we will create the workflow from scratch.

Log in to TuCalendi with your username and password. In the side menu click on "Workflows":

Flows menu

Workflows (after booking)" option click on "Select":

Workflows

Click on "New" to create the first workflow:

Workflow alias

Indicate the name to the workflow. When you have entered it, click on "Add":

Workflow created

To add the three automations we want this workflow to have click "Edit":

Edit workflow

Initially the flow does not have any triggers, this is what we are going to add.

First Trigger: A booking has been made successfully.

First of all what we want to happen when a customer makes a booking is that they receive an email confirmation of the booking made.

Click on "Add new trigger":

Add trigger

When you click on the drop down menu, the available triggers will appear.

Available triggers

The starting point of the flow is when a booking has been made. Select the trigger "A booking has successfully made":

Workflow with a trigger

For an automation to be operational a trigger must have at least one action.

Click on "Add new action":

Add an action

Select the action by clicking on the available menu:

Availble actions

What we want to happen is to send the confirmation email that the booking has been made. Therefore you have to select the action "Send confirmation email":

Send an email

Choose the confirmation template you want to send, the email account from where you want the confirmation email to be sent, you can also add the possibility to "Attach .ics file" and click "Add":

Workflow with a trigger and an action

Note that in the same trigger you can add the different actions available. Just repeat the process by clicking on "Add new action".

Second trigger. Send reminders.

So that the client who has booked with us does not forget the meeting we want to send two email reminders. For this we need to add a new trigger with the corresponding actions to the workflow.

Click on "Add trigger":

Add trigger

When you click on the drop-down menu, the available triggers will appear.

Available triggers

Select the trigger "Before a booking/meeting starts":

Workflow with two triggers

Now we need to add the desired actions to the "Before a booking/meeting starts" trigger.

Click on "Add new action" in this trigger.

Add action

When you click on the drop-down menu, the available action will appear.

Send reminders

Select the "Send reminder" action:

Schedule reminders notifications

Program when you want the reminder to be sent, the reminder template you want to send and the email account from where it will be sent

If in addition to the email reminders you want to send notifications by SMS in the field "Send notifications by SMS" you must activate the corresponding option.

In our case we want to send two reminders by email:

  • One day before the booking.
  • One hour before the booking.

To do this we must add two actions to the trigger.

First the reminder for 1 day before. When we have added it, we have to click on "Add new action" and include the second reminder for 1 hour before the meeting.

The result in the flow is as follows:

Workflow with two triggers and actions

Third Trigger: A booking has been cancelled.

When a customer has cancelled a meeting it is also important to send them a notification and give them the option to rebook. To do this we must add a third trigger to the workflow with the action we want.

Click on "Add trigger":

Add trigger

In the drop-down menu, the available triggers will appear.

Available triggers

Select the trigger "A booking/meeting has cancelled":

Workflow with three triggers

We need to add the desired action to the "When a booking/meeting has been cancelled" trigger.

Click on "Add new action" in the corresponding trigger:

Add action

Select the action by clicking on the available menu:

Action for cancellation trigger

What we want to happen is to send the cancellation email when the customer has cancelled the appointment. Therefore you have to select the action "Send cancellation email":

Send cancellation email

Choose the cancellation template you want to send, the email account from where the cancellation email will be sent and click "Add":

Workflow with three triggers and actions

At the end of the workflow or at each step you include click on "Save".

We have now created the workflow after a booking with the three automations we have outlined:

  • Send confirmation email.
  • Send two reminder emails.
  • Send cancellation email.
IMPORTANT: To finish the workflow and make it fully operational we must assign the events that will activate our workflow.

To see how to assign events to a workflow click here.