Omnichannel

Security and Compliance

Replacing Double Opt-In System Workflow

System workflows and events make usage of the platform more convenient. For example, Yespo widgets have a subscription confirmation workflow attached by default. When creating a form, it is enough to activate the switcher so that all new contacts who fill out the form on the site receive an email with a link to confirm the subscription.

Enabling DOI

The built-in system workflow sends one confirmation email, specified in the widget settings, no more than once every 72 hours.

System DOI workflow

In some cases, you may need to change the system workflow: for example, send one or more messages asking to confirm the subscription to those who did not do this in the first email.

System workflow replacement algorithm:

  1. Setting up the subscription confirmation link in the email.
  2. Creating a workflow.
  3. Configuring trigger.

Note

If you replace the system workflow, the new mailing scheme will be applied to all widgets in the account, while the emails can still be unique for each form.

Setting Up a Confirmation Link in an Email

The button with the confirmation link in the email for widgets should have the following settings:

Link:

  • Type: Subscription confirmation,
  • Link: $data.get('redirectUrl')

Link

Event type: SysContactConfirmed

Event type

Creating Workflow

Create a new workflow. It will be triggered by the SysContactConfirmationRequest system event, which is sent to Yespo when a user submits data from a widget on the site.

For example, if you want to remind about subscription confirmation three times with an interval of an hour, the workflow will be as follows:

Custom DOI workflow

Workflow blocks:

1. Start.

2. The Send obligatory (transactional) email task with the following settings:

  • Contact’s email: specify the ${email} variable — the system will substitute from the event the email of the user who filled out the form.
  • Message: specify the ${messageId} variable — the system will substitute from the event the message specified in the settings of the widget that the user filled out.

Send obligatory (transactional) email

3. Timer: specify the time to elapse between subscription checks.

Timer

4. The Contact confirmed condition checks if the user has confirmed their email: if yes, the workflow ends; if not, sends the message again.

Contact confirmed

5. End.

After making the settings in the workflow blocks, save it and go to the launch settings.

Configuring Trigger

1. Click Trigger configuration in the list of workflows.

2. Activate the Start configuration switcher.

3. In the Start configuration, select:

  • Event-based;
  • SysContactConfirmationRequest event;
  • arbitrary conditions for processing unique events.

Start configuration

4. Click Apply.

Learn more about events >

Once you activate the workflow, the system will apply it to all widgets in your account.

Any Questions?
We’re always happy to help!
Discount services
Schedule a Call
Fill in the form, and our specialists will call you back as soon as possible.
Discount services
Chat Support
We’re waiting for your questions!
Discount services
Email
Contact the support team