Create Salesforce Event with Multiple Attendees

Using our mobile forms you can create event and attendance registration for Salesforce. In this guide we will create a mobile form that will allow us to record an Event with a subject, start date, end date, link an Account to our Event and create multiple attendees.  

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



Rename your form, we will call our form "Event with Attendees".



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


Drag and drop a Salesforce Lookup field on your form. This will allow you to link the Event to an Account on Salesforce.



Click the pencil icon to edit the Salesforce lookup field.



Select an object you would like to use for the lookup, this will allow you to search for any record under this object. In our case we will name the Label as Account and will link it to the Account object.



Now drag and drop a text field on your form. This will be used as the Event Subject. You can click the pencil icon to rename the field and make it required.



Drag and drop a "Date and Time" field. We will use this to setup a start date and time for the event.



Drag and drop another "Date and Time" field to setup an end date and time for the event.



Now drag and drop a Repeat Group element. This will be used for the attendees, repeat group elements allow you to create any number of related or child records on Salesforce. For example multiple contacts under an Account or multiple line items under an Opportunity. Here we will use the repeat group for multiple Event attendee creation.


Click the pencil button and rename the label as Attendees.



Now drag and drop a Salesforce Lookup field in to the Repeat Group. This lookup will be used for Contact records on Salesforce who will be linked to the event as attendees.



We will rename the Label as Contact and will attach it to Contact in the Object field.



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



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



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



First we will create an "Event" connection to create our Event record when a form entry is captured. Select "Event" from the "Salesforce Object" list and click "Save".



So that we can use the newly created Event record for our Attendees, the Event connection "Insert Sequence" will need to be 1. This will insure that the Event is created prior to the Attendees and we will be able to use the Event_Id for the new Attendee records.



Click "Save" when done.



Now we need to map our Formyoula "Account" field to the Salesforce "Opportunitie/Account ID (WhatId)" field. When both are selected click "Create Map".



Then map all the other fields: Formyoula "Subject" field to the Salesforce "Subject" field.



Formyoula "Start Date/Time" field to the Salesforce "Start Date Time" field.



And Formyoula "End Date/Time" field to Salesforce "End Date Time" field. 



Check if the mappings are correct.



When 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 this connection to create our Attendees as Event Relation records from our Attendee Repeat Group. Select "Event Relation" from the Select Object list and click "Save".



First, update the "Insert Sequence" to 2, so that the Attendee records are created after the Event record is created. This will enable us to use the Event_Id, so that the new Attendees can be associated to the new Event record on Salesforce



As we are using a Repeat Group on our Formyoula form we will need to indicate this under the Attendees connection. In the "Use Repeat Group" list select "Attendees", this is the Repeat Group we created earlier on the Formyoula form builder. And click "Save". 


Next we will need to map our Formyoula fields to the new Salesforce Event Relation fields. To make sure the new Attendees records are associated to the new Event record on Salesforce we will need to map the Event connection as seen below "[New Event (Seq. 1)]" to the "Event Id" field. This will ensure that when new Attendee records are created on Salesforce the previously created Event record Id will be used for the new Attendee records.



Now map the "Contact" field from your form to "Relation ID" on Salesforce 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.



Use the Salesforce Lookup Object to attach the Event to an Account on Salesforce.




Fill in the form and create as many Attendees as you need by clicking "Add Attendees" and then "Add" to create a new entry. Use the Salesforce Lookup object to add Attendees from Salesforce contacts.



Submit the form when it is completed.



Now when you open Salesforce you will be able to see the new Event with the new Attendees that were created on the Formyoula form under the assigned Account.







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