The newsletter type form can be used to collect email addresses from website visitors, for example for your newsletter or new content alerts.
To start collecting subscribers, navigate to the top panel in your canvas. Select the Form icon and click on Newsletter.
With the form selected, open the Settings tab on the right-hand side. Under Newsletter form, select the email marketing provider. At the moment, Ycode only offers MailerLite as an ESP to connect.
You’ll then need to add the API key. Follow these instructions to find the API key in MailerLite.
Now choose the subscriber group you want to add the new signups to. If you leave this field empty, each new subscriber will be added to the general contact list.
As the next step, click on the Submit button and once again open the Settings tab. Under Attributes, give this element an ID. We named ours “Submit”.
We now need to create a workflow so that when the submit button is clicked, the newsletter form is processed and the new signup information is added to MailerLite.
Navigate to the Workflows tab and click on + Create workflow. Select Click here to add an event, then choose Elements followed by Clicked, and finally select the element ID we previously named ("Submit").
Then press Click here to add an event once more and select Other, followed by Send email. Fill in all fields accordingly. Finally, name your Workflow and click on Create workflow. You're done!