Person records, link them to Organizations, and even initiate sales Opportunities the exact second a user clicks submit.
Enterprise Business Use Cases
Automated Sales Pipeline Entry
Client Onboarding & Intake
Ultra-Detailed, Step-by-Step Setup Guide
To establish a secure, authenticated connection between Flex Forms and your Capsule CRM environment, you must generate a Personal Access Token (PAT). Follow these exact, step-by-step instructions carefully to ensure a successful integration.Step 1: Log into your Capsule Dashboard
https://[your-company].capsulecrm.com). Enter your administrator email and password to log in.Note: You must have administrator or developer privileges in Capsule to generate API tokens.Step 2: Locate the Profile Menu
Step 3: Access 'My Preferences'
Step 4: Navigate to the API Tokens Section
Step 5: Initiate Token Generation
Step 6: Configure the Token Parameters
Flex Forms Production Integration. This ensures that if you review your security logs months from now, you know exactly what this token is used for.Optional: You will see a field for “Allowed IPs”. Unless your Flex Forms server is hosted on a strict, dedicated static IP address, leave this field completely blank.Step 7: Generate and Secure the Token
Ctrl+C / Cmd+C).Step 8: Inject the Token into Flex Forms
- Open Integrations in the Flex Forms left rail (separate from Global Settings).
- Find the Capsule CRM card.
- Paste the token into the API key field.
- Save to finalize the connection.
Masterclass: Mapping Data Payloads
Establishing the connection is only half the battle. Now, you must instruct Flex Forms on exactly how to translate your form fields into Capsule CRM’s specific database architecture. Capsule CRM segregates standard, built-in fields (like first name, last name, and job title) from Custom Fields that you define yourself.- Standard Field Mapping
- Exact Mapping Example
capsule_internal_key=flex_forms_block_nameHere are the most common standard Capsule keys you will use:firstName(The person’s first name)lastName(The person’s last name)jobTitle(Their role at the company)organizationName(The company they work for)about(A long text description or biography)
How Custom Fields Work in Capsule
If you map a key that is not a standard Capsule field (for example, if you mapindustry_type=industry_dropdown), Flex Forms intelligently recognizes this.
Instead of throwing an error, Flex Forms will automatically package that data and attempt to save it as a Custom Field attached to the newly created Person record in Capsule.
industry_type, but you haven’t manually created a Custom Field named exactly industry_type in your Capsule settings, the Capsule API will reject the entire payload and the integration will fail. Always build your Capsule Custom Fields before you map them in Flex Forms.Troubleshooting & Enterprise FAQs
Even with a perfect setup, enterprise environments can experience edge cases. Here is how to diagnose and resolve them.API Error: 403 Forbidden
API Error: 403 Forbidden
403 Forbidden error returned by Capsule.The Solution: This almost always means your Personal Access Token is invalid. This can happen for three reasons:- The token was accidentally deleted or revoked in the Capsule dashboard.
- The employee who generated the token left the company, and their Capsule user account was disabled.
- The token has expired.
Duplicate Contact Management
Duplicate Contact Management
POST (create) request to a PUT (update) request, safely appending the new data to their existing profile without creating a duplicate.Configuration Reference
The following advanced settings are available in the Flex Forms UI for this integration. Use this reference to understand exactly how each field impacts the API payload.Global Settings
Located in Integrations in the Flex Forms left rail.Form-Level Settings
Located on the form hub Integrations tab for a specific form.1: Yes0: No
1: Yes0: No
1: Yes0: No
1: Yes0: No
1: Yes0: No
replace: Replace contact detailsappend: Append contact details
OPEN: OpenCLOSED: Closed
OPEN: OpenCOMPLETED: Completed
none: Noneperson: Created personcase: Created caseopportunity: Created opportunity