Create New Contact Record as a Campaign Member to a New Campaign Record

In this guide, we will demonstrate how to create a new Contact record and assign it as a Campaign Member to a new 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 objects 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. In this case, we will use two pages, one for the new Contact details and the second one for the new Campaign details.

image

5. Drag and drop fields for the Contact record on the first page of 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 fields for the Campaign record on the second page of your form. Add as many fields as you need.

image

8. Drag and drop a “Select” field on your form to capture information and match it to Salesforce picklist fields on the Campaign record.

image

9.  Edit the field and add matching values as on the Salesforce field.

image

10. Drag and drop two “Date” fields to set the start and the end dates on the Campaign record.

image

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

image

12. 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

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

image

14. Select “Contact” from the available Salesforce Object list and click “Save”.

image

15. Set the “Insert Sequence” as “1”. This will ensure to create the new Contact record prior to the new Campaign record.

image

16. Click “Save Record Settings” when done.

image

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

image

18. Map all the necessary fields from your Formyoula form to the Salesforce fields.

image

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

image

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

image

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

image

22. Set the “Insert Sequence” as “2”. This will ensure to create the Campaign record after the Contact record is created.

image

23. Click “Save Record Settings” when done.

image

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

image

25. Map all the necessary fields from your Formyoula form to the Salesforce fields.

image

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

image

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

image

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

image

29. Set the “Insert Sequence” as “3”. This will ensure to link the newly created Contact record to the newly created Campaign record as a Campaign Member.

image

30. Click “Save Record Settings” when done.

image

31. Map the Formyoula “[New Campaign (Seq 2)]” field to the Salesforce “Campaign ID” field. This will ensure to link the new Contact to the new Campaign.

image

32. Map the Formyoula “[New Contact (Seq 1)]” field to the Salesforce “Contact ID” field. This will ensure to link the new Contact as a Campaign Member.

image

33. When done, go to your Formyoula dashboard.

image

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

image

35. Select the newly created form.

image

36. Fill in both pages and submit the form.

image
image

37. Now, when you open Salesforce you will be able to see the newly created Contact record.

image

The newly created Campaign record.

image

And the new Contact record will be linked to the new Campaign record as a Campaign Member.

image

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