Tayon Help

Enroll people from a conversational form

Give a course from a conversational form — free or after payment, to the person filling it in or as a gift — send buyers straight into it, and branch on the result.

probusiness

You’ll need: The Pro plan or above, and a course in e-Learning.

The Enroll in Course action gives one of your courses to someone through a conversational form, and emails them a link to start. Usually that is the person filling in the form; it can also be someone else, when the course is a gift. Use it when you want a form in front of the course — a qualifying questionnaire, an upsell, or a payment with options the course page does not offer.

#Before you start

The form must collect the student’s email before the action runs — normally the email of the person filling it in. Without it, nobody can be enrolled.

#Add the action

  1. Open the conversational form in the Flow Designer.
  2. On the step where enrollment should happen, add an action and choose Enroll in Course. It is in the Integration group.
  3. Under Course, choose the course from Select a course. Each course shows its price, or Free, and whether it is still a draft.
  4. Leave Who is enrolled as it is, unless the course is for someone else (see below).
  5. Publish the form.
The Enroll in Course action, with the Who is enrolled area
The Enroll in Course action, with the Who is enrolled area

#Free courses

Put the action on any step after the email question — usually the last one. The person gets the access email within about a minute.

Put the action on the step that the Payment Checkout action’s success exit leads to. The course is delivered when the payment is confirmed — even if the buyer pays by PIX or boleto and never comes back to the form.

#Give the course to someone else

When a buyer pays for a course as a present, or a manager signs up a member of their team, the student is not the person filling in the form. The Who is enrolled area of the action says who gets the course.

Field What to pick
Student email The person filling the form, or the question that asks for the student’s email
Student name The person filling the form, or the question that asks for the student’s name
Student phone The person filling the form, or the question that asks for the student’s phone
Message to the student Optional text for the student, such as e.g. $NAME gave you this course as a gift! You can use the form’s variables in it
  1. Add questions to the form, before this step, that ask for the student’s email — and their name and phone, if you want them.
  2. In the action, under Who is enrolled, set Student email to the question that asks for the student’s email. Do the same for Student name and Student phone.
  3. Write a Message to the student if you want one.
  4. Publish the form.

The lists offer the identifiers of the questions in your form. If you pick one that no step before this one collects, the action warns you: No step before this one collects this identifier, so the email may be empty when the action runs and nobody is enrolled.

When the student’s email is different from the one the person filling the form gave:

  • The student gets the access email, with your message quoted under Message from and the name of the person who filled in the form.
  • The person who filled in the form gets an email saying Access to … was sent to …, with the course and the student’s email.

When the two emails are the same, the message is not sent and nobody gets the extra email.

#Send buyers straight into the course

Without anything more, the form ends and the buyer waits for the access email. You can take them into the course instead, already signed in.

  1. In the Enroll in Course action, choose Copy course access link. It appears once a course is selected.
  2. On the step after this one, add a Redirect URL action and paste the link as its URL.
  3. Publish the form.

The link ends in $FLOWSESSION. Leave it as it is: it is filled in when the form runs, and it is how Tayon knows which buyer has arrived.

What the buyer sees when they follow the link:

Situation What appears
The access is ready The course, signed in. A new student is first asked to choose a password
The access is still being set up Preparing your access…, which checks again on its own every few seconds. Check again does it straight away
The payment is not confirmed yet We couldn’t confirm your purchase yet — the access email follows once the payment confirms
The course went to someone else Access sent, with the email the access went to

The link signs a buyer in once, and only for six hours after they filled in the form. Opened again later, or by someone else, it shows the course page, where the student signs in as usual.

#Let the AI Builder add it

If you build the form with the AI Builder and mention a course, it asks which of your courses to give and whether it is for the person filling in the form or someone else. It then adds Enroll in Course on the payment’s success path, or after the sign-up for a free course, followed by a You’re in! screen whose button takes the buyer into the course. See Build a conversational form with AI.

#Check the result

The action stores its outcome in $ELENROLLSTATUS. Put it in an email to yourself or on a later screen to see what happened:

Value Meaning
requested The enrollment was sent. The access email follows within about a minute
no_email The form has no email for the student yet
no_course The course was not found — it may have been deleted
error Something went wrong. The flow carries on anyway

The form always moves on, whatever the result, so ask for the email before this step and make that question required. That rules out no_email.

To react to the result, put a Split after the action:

$ELENROLLSTATUS = requested

Send the true path to your thank-you screen, and the false path to a screen that says something went wrong and how to reach you. See Send people down different paths.

#When it goes wrong

  • The designer says the course is not published yet. Publish the course before the form goes live. Requests for a course that is still a draft are turned down and are not retried after you publish.
  • The action is greyed out. e-Learning is not included in this account’s plan.
  • Testing in preview does not enroll anyone. In preview the enrollment is only simulated. Test with the published form and a real email address.

Updated: