New Contact Creation and Attachment to Campaign as a Campaign Member

To start go to your Formyoula Dashboard - https://app.formyoula.com/dashboard and click "New Form".



Rename your form, we will use "Salesforce Campaign".



Add at least one page to your form. We will add one called "Campaign Member" and click the "+" button to create it.



Drag and drop required fields. We will use two "Text" fields and one "Email" field. Press on the pencil icon to edit the fields, we will use the "Text" fields for the "First Name" and the "Last Name" and the "Email" field for the "Email". 


Drag and drop a "Select" field.


"Select" field will be used to select the "Status" for the Campaign Members. Press on the pencil icon and edit the Label and add needed fields for the "Status" under the "Select Options".



Drag and drop a "Hidden" field from the "Input" section, this will be used to attach the newly created Contact to an existing Campaign as a new Campaign Member. Edit the "Hidden" field, change the label, then copy the Campaigns ID from Salesforce URL and paste it in to the "Hidden" field.





When finished, click the "Save & Close" button.



Now we will need to add two Salesforce connections, one for the new Contact record and the other one for the Campaign Member record. Click "Add" under the connection column. 



Select Salesforce from the available connections list and click "Create Connection".



First we will create a "Contact" connection to create a new Contact on Salesforce. Select "Contact" from the "Salesforce Object" list and click "Save".



So that we can use the newly created Contact record for our Campaign, the Contact connection "Insert Sequence" will need to be 1. This will insure that the Contact is created prior to the Campaign Member field record and we will be able to use the Contact_Id for the new Campaign Member field record.



Click "Save" when done.



Now we need to map our Formyoula fields to the Salesforce "Contact" fields. First we will map the Formyoula "First Name" field to the Salesforce "First Name" field, when both are selected click "Create Map".



Next we will map the Formyoula "Last Name" field to the Salesforce "Last Name" field.



And then we will map the Formyoula "Email" field to the Salesforce "Email" field. 



Check if the mappings are correct.



When the mapping is done click "Back to Connections" button to make second connection.



Select Salesforce from the available connections list and click "Create Connection".



We will use the second connection to attach the newly created Contact as a Campaign Member to an existing Campaign record. Select "Campaign Member" from the available "Salesforce Object" list and click "Save".



Update the "Insert Sequence" to 2, so that the Campaign Member records are created after the Contact record is created. This will enable us to use the Contact_Id.




Click "Save" when done.



Next we will need to map our Formyoula fields to the Salesforce Campaign Member field. To make sure that the new Contact record is associated to the Campaign Member record on Salesforce we will need to map the Contact connection as seen below "[New Contact (Seq. 1)]" to the "Contact Id" field. 



Next we will map the Formyoula "Campaign Member Status" field to the Salesforce "Status" field.



And then we will map the Formyoula "Campaign ID" field to the Salesforce "Campaign ID" field.



Check if the mappings are correct.



Go back to the Formyoula Dashboard when done.



On the Formyoula Dashboard, click the "Try" button to launch the Mobile Web App. 



Select the newly created form.



Fill in and Submit the form when it is completed.



Now when you open Salesforce you will be able to see the new Contact as a Campaign Member under the selected Campaign.



If you have any questions, please email Support@Formyoula.com

Salesforce

  1. Use Repeat Groups to Create Salesforce Child and Related Records on Your Mobile Forms
  2. Lead Capture With Business Card
  3. Create Salesforce Event with Multiple Attendees
  4. Common Salesforce Record Errors
  5. Testing Formyoula In Your Salesforce Sandbox
  6. Create Records on Custom Objects With Formyoula
  7. Lookups for Salesforce Orders and Contracts
  8. Salesforce Record Select List
  9. Salesforce Child Record Auto-Fill Using Repeat Groups
  10. Adding Salesforce Lookup Fields to Your Mobile Forms
  11. Convert Existing Salesforce Lead Into an Account, Contact, Opportunity and Followup Task
  12. Salesforce Select Element for Record Assignments in the Field
  13. Salesforce Select Child Record Filter
  14. Offline Event Registration
  15. Add Users To Campaigns During Events
  16. Display Images and Signatures in Salesforce
  17. Set Record Types with Hidden fields
  18. Pre-fill Formyoula forms with Salesforce Information
  19. Capture GEO Location in Salesforce
  20. Autonumber new Salesforce records with a unique Formyoula entry ID
  21. New Contact Creation and Attachment to Campaign as a Campaign Member
  22. Override Select List Options With Salesforce IDs
  23. Updating existing records in Salesforce with Lookups
  24. Salesforce Record Type Switching With Workflow Rules
  25. Record Customer Site Visit on Salesforce
  26. Salesforce From With Multiple Line Items Using Repeat Groups
  27. Conditional Salesforce Record Creation
  28. Update or Create a Contact and Attach to a New Campaign as a Campaign Member
  29. Displaying Additional Salesforce Information for Lookup & Select Fields
  30. Send Email After Each Form Entry is Captured
  31. Record & Display Images in Salesforce
  32. Record & Display Signatures in Salesforce
  33. Record Voice Files in Salesforce
  34. Formyoula Integration With Salesforce Chatter
  35. Add Salesforce Users to Your Formyoula Account
  36. Formyoula Salesforce Features
  37. Create a Workflow Rule that will pre-fill information from a related object
  38. Prefill form fields from Salesforce using URL merge parameters
  39. Capture Photos, Signatures And Sketches Offline
  40. Create Multiple Related Salesforce Records Using a Single Form
  41. Create Time Based Workflow Rule To Retry Failed Formyoula Files
  42. Create, Update and Find Records on Salesforce
  43. Online and Offline Salesforce Lookup Search
  44. Filter Salesforce Records Based on Formyoula User Email
  45. Store Formyoula form entries directly in your Salesforce organization
  46. Create Salesforce Chatter Files, Attachments and Documents using Formyoula Form Files
  47. Create a Salesforce Event Record Linked To Multiple Contacts
  48. Create Custom Lookup Search Result Fields

Feedback and Knowledge Base