Guides & Tutorials

Connecting landing page with automation

How to connect a landing page form with an automation workflow?

An automation workflow allows you to send welcome emails to new subscribers and start a workflow when someone submits their data via form.

To connect your landing page form with an automation workflow, you must first create a template for your welcome email, an automation workflow triggered by a form submission and a landing page with a form.

Creating a template

  1. To create a template, go to the “Templates” tab and click “New template”. 
  2. Choose a suitable template or an example welcome email template. 
  3. Design the styles and text of the template to fit your brand.

Read more about creating templates from our drag-and-drop template creation guide.

Setting up an automation workflow

  1. To set up an automation workflow, go to the “Automations” tab and click “New automation”.
  2. Give the workflow a name (displyed only to the user) and set “Form submitted” as the trigger.
  3. Next choose the action “Send message”.
  4. Set up the element to send a message by adding a subject, from address, from name and choose the previously created welcome email as the template.
  5. Once the automation workflow is set up, save the automation and launch it in the automations view.

To connect the automation workflow to a form, you’ll need the workflow ID. Get the automation workflow ID by opening the workflow and copying the number at the end of the URL – that’s the ID.

An example ID:
subdomain.sendsmaily.net/automation/overview/id/32 – 32 is the ID

Connecting an automation workflow with a form

  1. To connect the automation workflow to a form, open the landing page and click on the form element.
  2. Add a new field to the form.
  3. Choose “Hidden field” as the field type.
  4. Name the field “automation_id”
  5. Choose a label for the field (e.g. Automation)
  6. The value of the field should be automation ID (the number from the automation URL address)
  7. Once the field has been added, save the landing page and test the form out.
Connecting landing page with automation
Menu