Forms & Landing Pages
In this workshop, you will create an email newsletter signup form to capture new Leads in Salesforce CRM skip creating Lead records if a matching record already exists, then publish the form on a landing page.
Create Form
Campaigns include several quick start campaigns for common marketing use cases. In this exercise, you will create a signup form campaign that automatically creates and connects a form and flow for you.
- Click the Campaigns tab from the Marketing app.
- Click New.
- Select Parent Campaign and click Next.
- Enter
Newsletter Signupsin the Campaign Name field. - Click Save.
- On the Signup Form card, click Select.
- Click Edit in the Start Trigger section.
- Default form fields are displayed. For this form, you won't need an phone number, so select the Phone Number form field, then click the trash icon
and click Delete when prompted. - Click Save.
- Click the back arrow
in the top left corner of the page to return to the Campaign page.
Edit Flow
The campaign flow has automatically been created with common elements. In this exercise, you will review and customize the flow elements for your campaign.
- In the Next Steps section, click Open Flow to launch Flow Builder.
- Click on the Create Records element. The fields have already been mapped to the form fields. As this form doesn't use the Phone field, click the trash icon
to remove the field. - In the Check For Matching Records section, enable the toggle icon.
- Click Search fields... then type
emailand select the Email field. - In the Value field, select Associated Form, then type
emailto select the Email Address field.

- Set the option If a single matching record exists to Skip the matching record.
- Set the option If multiple matching records exist to Skip all matching records.
- Click the Create Consent element.
- In the Create Consent panel, change the Consent Status to Opt-in.
- In the Contact Point 1 section, select Associated Form then click Email Address.
- In the Channel menu, select Email.
- In the Communication Subscription Menu, select Product Announcements that you created in the Campaign Creation workshop.
- Click Save.
- Click Activate, then click Activate in the Activate this flow? dialog.
- Click the back arrow
in the top left corner of the page to return to the Campaign page.
Form Publishing
The form will be published automatically once the flow is activated.
Preview Landing Page
Now you can capture user information on a form, you will need to add it as a component on a landing page.
- Click the Newsletter Signups Page link in the campaign flow to open the landing page.
- Preview the sample landing page which includes the form you customized earlier.
- Optionally, click Edit to launch the page editor and apply any changes to the page, then click BB and click the back arrow
in the top left corner of the page to return to the landing page. - Click Publish to publish the landing page and assets used by the page.
- In the Publish Content dialog, click Next, then click Publish Now.
- Click on the URL tab.
- Click on the Public URL link to view the page.
- Enter values in the form field and click Submit.
View Lead Record
- From the Marketing App, click on the Leads tab.
- You should see the new lead created in the List view.
You’ve created a form and landing page in Agentforce Marketing.