Create New Lead Record as a Campaign Member to an Existing Campaign Record

In this guide, we will demonstrate how to create a new Lead record as a Campaign Member to an existing Campaign record in Salesforce with a Formyoula mobile form. This mobile form can be completed while the mobile device is offline and the new record will be created on Salesforce once the device regains internet connection. Both Salesforce and non-Salesforce users can complete Formyoula mobile forms and the new records will be created on Salesforce. You can create any number of records on standard or custom object with a single Formyoula mobile form. Child record creation is supported using repeat group elements.

1. Go to Formyoula.com and click “Sign In”.

image

2. Click “New Form”.

image

3. Click “Rename” to give your new form a name.

image

4. Forms can have multiple pages. We will leave one with the standard name “Details”.

image

5. Drag and drop fields on your form. Add as many fields as you need.

image

6. Click on the “pencil” icon to edit the fields.

image

7. Drag and drop a “Hidden” field on your form. Click on the “pencil” icon to edit the field.

image

8. Copy the Campaign ID from your Salesforce URL while on the Campaign record page. Paste the ID into the hidden field. Change the hidden field’s label. This will ensure to link the form to a specific Campaign record in Salesforce.

image
image

9. Click “Save & Close” to save your form.

image

10. Click on “(Add)” under the “Connections” column or click on the “Create a Connection” button, or select “Add/Edit Connections” from the “Actions” available list.

image

11. Select “Salesforce” from the available connections list and click “Create Connection >>”.

image

12. Select “Lead” from the available Salesforce Object list and click “Save”.

image

13. Set the “Insert Sequence” as “1”. This will ensure to create the new Lead record before linking it to the Campaign record.

image

14. Click “Save Record Settings” when done.

image

15.  Select the matching fields in both mapping sections and click “Create Map”.

image

16. Map all the necessary fields, for your Lead record, from your Formyoula form to the Salesforce fields.

image

17. When done, click on the “<< Back to Connections” button.

image

18. Select “Salesforce” from the available connections list and click “Create Connection >>”.

image

19. Select “Campaign Member” from the available Salesforce Object list and click “Save”.

image

20. Set the “Insert Sequence” as “2”. This will ensure to link the newly created Lead record as a Campaign Member after the Lead record is created.

image

21. Click “Save Record Settings” when done.

image

22. Map the Formyoula “[New Lead (Seq 1)]” field to the Salesforce “Lead ID” field. This will ensure to link the new Lead record to the Campaign record.

image

23. Map the Formyoula “Campaign ID” hidden field to the Salesforce “Campaign ID” field. This will ensure to link the form to the existing Campaign record in Salesforce.

image

24. When done, go to your Formyoula dashboard.

image

25. Click on the “Try” button next to the form. This will open the mobile web app.

image

26. Select the newly created form.

image

27. Fill in the form and click “Submit” when done.

image

28. Now, when you open Salesforce, you will be able to see the newly created Lead record that is linked to the Campaign record as a Campaign Member.

image

For any questions please contact us - [email protected].