FireForm SMS Consent Integration
Importing a Prebuilt Form and Connecting to Convergence Cloud
This document explains how to import the prebuilt SMS consent form into FireForm, register the integration with Convergence Cloud, and configure the integration rule using a raw JSON payload.
All web forms used to obtain consent will use the Double Opt-In method by default.
This is the recommended setup method as it minimizes manual configuration and reduces integration errors.
Note: All web forms used to obtain consent will use the Double Opt-In method by default.
Before you begin
You should have:
Access to FireForm
Access to Salesforce CRM
This FireForm import file. Click to download - fireform-consent-import.txt
The provided raw JSON payload
The Consent Package ID from the Enterprise CRM team
Importing the FireForm
Log in to your Fireform tenant.
Click on Tools, then Forms.
Click on the Import Form button.
- Fill out the following information:
- Name: What you want your form to be titled
- Form Code: What you want the URL for your form to end in. (Example: https://iucrm-fireform.eas.iu.edu/online/form/index/ConsentForm - ConsentForm would be the Form Code)
- Page Section: Choose General
- Sort Order: Keep this as 1
- Workflow: Choose Default Workflow
Click on the Select a File button and select fireform-consent-import.txt for upload.
Click Save.
The imported form already includes:
Consent Information section
First Name field
Last Name field
Email field
Mobile Number field
Required SMS Agreement checkbox
Consent disclaimer language
The imported form is already configured with the correct field order and required field settings.
Reviewing the imported form
- Once the import has finished, find your newly created form in the list of forms and click on its name to open it.
- Click Edit.
- Change Status to Active.
- You can click Form Options to expand that area and change settings, such as "Require IU Login" if you want your form to be behind IU Login authentication.
- Click the Update button in the bottom right.
- Click the link to the online form and your form will open in a new browser tab.
- Confirm that your form contains the following fields:
| Field | Required |
|---|---|
| First Name | Yes |
| Last Name | Yes |
| Yes | |
| Mobile Number | Yes |
| Yes, I want to receive Indiana University SMS Messages | Yes |
The form should appear similar to:
Consent Information
First Name
Last Name
Email
Mobile Number
☐ Yes, I want to receive Indiana University SMS Messages (*required)
The SMS Agreement checkbox must remain required for compliance purposes.
Registering the integration in Convergence Cloud
Log into the Enterprise CRM.
Click on the the App Launcher. (Nine dots near the upper left corner)
Click on IU Convergence Cloud.
Click on Form Handler.
In the blank below the API Endpoint, paste your form URL from Fireform and paste it.
Click + Add URL.
Confirm that an entry for your form shows up in the list. It will show the form URL and then immediately to the right of that a string of characters that you will use as an integration password. Remember where to find these credentials. They will be used inside FireForm.
Creating the FireForm integration rule
Return to Fireform and open your form. (this is not the link to your form, but the form configuration area within Fireform itself)
Click on Integration.
- Click Add Integration.
- Fill in the following values:
- State: New
- On Success Move to Routing Step: 1 - New
- On Failure Move to Routing Step: 1 - New
- Leave On Failure Skip Retry unchecked
- Number of retry attempts - 2
- Click Save.
- Click Add Integration Rule.
- Configure the rule with the following values:
- Name: Modern Campus Consent (you may customize this name to fit your needs)
- Rule Order: 10
- Status: Active
- HTTP Method: POST
- Endpoint URL:
https://iu-convergence-cloud.herokuapp.com/api/form - Authorization Type: Basic Auth
- Username: Insert your form URL. (e.g., https://iucrm-fireform.eas.iu.edu/online/form/index/ConsentForm)
- Password: The password generated by Convergence Cloud.
- Data Format: Send Raw Data
- Send Raw Data:
{"sms_consent_event__c.event_source__c":"Web Form","sms_consent_event__c.event_type__c":"Opt-in","sms_consent_event__c.event_date__c":"{FormEntry.CreatedDatetime}","SMS_Consent_Event__c.sms_consent_package__c":"REPLACE_WITH_CONSENT_PACKAGE_ID","Contact.FirstName":"{Element_1}","Contact.LastName":"{Element_2}","Contact.Email":"{Element_3}","Contact.MobilePhone":"{Element_4}"}
- Find "REPLACE_WITH_CONSENT_PACKAGE_ID" and replace it with the Consent Package ID provided by the Enterprise CRM team, leaving the quotes in place. (e.g., a5s01234567Sg18IBC)
- Click Save.
You should now have a working form for collecting consent from contacts that you wish to text with Modern Campus.
Understanding the JSON raw data fields
| JSON Field | Purpose |
|---|---|
| sms_consent_event__c.event_source__c | Identifies where consent originated |
| sms_consent_event__c.event_type__c | Defines the consent action |
| sms_consent_event__c.event_date__c | Captures submission timestamp |
| SMS_Consent_Event__c.sms_consent_package__c | Associates the event with the Consent Package |
| Contact.FirstName | Contact first name |
| Contact.LastName | Contact last name |
| Contact.Email | Contact email |
| Contact.MobilePhone | Contact mobile number |
Consent language
The imported form already contains the approved consent disclaimer language.
The agreement section should state:
By providing your number and checking the box above, you are agreeing to subscribe and receive informational text messages from Indiana University. Message and data rates may apply. Carriers are not liable for delayed or undelivered messages. Message frequency varies per user. Text HELP or visit Contact IU for assistance. Text STOP to opt out at any time. View Terms of Service and Privacy Policy.
The SMS Agreement checkbox should never be removed or made optional.
Troubleshooting
Form submits successfully but consent creation fails
Verify:
Endpoint URL is correct
Username/password are correct
Integration Rule is Active
Contact fields are blank
Verify the imported form still contains:
| Field | Element Token |
|---|---|
| First Name | {Element_1} |
| Last Name | {Element_2} |
{Element_3} | |
| Mobile Number | {Element_4} |
Consent event not created
Verify:
Consent Package ID is valid
Endpoint URL is correct
Authentication credentials are valid
