CRM Integration Patterns
Recommended integration patterns for Salesforce, HubSpot, Zoho, and similar CRMs.
Most customers integrate B2 Systems with a CRM such as Salesforce, HubSpot, Zoho, or a custom system.
Use external_id to keep B2 Systems jobs connected to your CRM records.
Recommended CRM Fields
Store these values on your CRM deal or opportunity record:
b2_external_id: your CRM record id or a stable integration id.b2_parsing_id: returned by InFlow.b2_matching_id: returned by TrueSight.b2_deal_id: returned whencreate_dealistrue.b2_parsing_statusb2_matching_statusb2_last_error_codeb2_last_error_message
Pattern 1: Parse PDFs and Update CRM
Use this when your CRM stores bank statement PDFs.
- User uploads PDFs to your CRM.
- Your server calls
POST /v1/inflow/parsing. - Store
parsing_idon the CRM record. - Listen for
inflow.parsing.completed. - Fetch
GET /v1/inflow/parsing/{parsing_id}. - Save parsed financials and review status to the CRM.
Pattern 2: Parse Then Match
Use this when you want B2 Systems to extract financial data before matching.
- Submit PDFs to InFlow.
- Wait for
inflow.parsing.completed. - Call
POST /v1/truesight/matchingwith the completedparsing_id. - Store
matching_id. - Wait for
truesight.matching.completed. - Fetch matching results and update the CRM record.
Pattern 3: Match CRM Data Directly
Use this when the CRM already has application and financial data.
- Map CRM fields to the B2 Systems
applicationandfinancialsshape. - Call
POST /v1/truesight/matching. - Store
matching_id. - Fetch matching results or wait for the webhook.
- Update CRM fields with funder results and match score.
Pattern 4: Create or Continue a Dashboard Deal
Use this when your team wants dashboard visibility.
If your CRM already has application or financial data, call POST /v1/deals. If B2 Systems is parsing or matching first, set create_deal to true on InFlow or TrueSight.
Store the returned deal_id in your CRM. Use PATCH /v1/deals/{deal_id} for later field updates, and let your team continue the workflow in B2 Systems.
For broker deals, leave auto_submit as auto to follow the dashboard setting, or set it to disabled when that CRM workflow must never auto-submit.
Webhook Processing Pattern
Use webhooks to wake up your integration, not as the only source of data.
Recommended flow:
- Receive webhook.
- Verify signature.
- Store event id for idempotency.
- Return
2xx. - Fetch the latest object from B2 Systems.
- Update your CRM.
Field Mapping Tips
Use reference endpoints for countries, states, provinces, entity types, and industries.
Send country with state_region when possible.
Use external_id on every create request.
Keep API keys server-side. Do not call B2 Systems directly from browser-based CRM scripts.
Updated about 1 month ago

