One of the basic's on a website is a newsletter subscription form.
The regular setup is a simple email input field and a submit button. By click on the submit button a verification mail needs to be verified by the customer.
For choosing a email template later, it should be added before the form setup. For the beginning it's an easy snippet:
The basics in setting up a form. The form has a text field and a submit button. See text field will be used for the e-mail address. This should be required and has an e-mail validation activated. Your form should look like this:
For an approval process it's important to have at minimum two submit actions. The first one is the 'Create Customer' submit action. This will create or update an existing customer in the database. This will be matched on the E-Mail field.
An email with the verification link needs to be sent to the customer. Therefor a 'Send Mail' submit action is needed. The important setting is, that the second 'To' field should set to the internal name of the email text field.
The customer will receive this email after clicking on submit.
The last step is to create an interaction to set the verified state to '1' or another value. The interaction needs a customer field for the verification state, that will be chosen in the interaction.
By inserting the snippet in your site, you should set the value for the field. The values has by default the value '[SET VALUE HERE]'. Just replace the string with another value.
When the user has verified the subscription, the value in the customer data's is set. You can find it in the customer section.