What the Integration Does
Link documents to Dynamics records
Pass a Dynamics Account, Opportunity, or Invoice ID at upload time. The document is permanently associated with that record.
Push extracted data to Dynamics
When a document is exported, an automation scenario reads the extracted fields and updates the corresponding Dynamics record.
Create Dynamics activities
Post the AI summary as a Note or Task on the associated Dynamics record — giving your team instant visibility into document content.
Deep-link back to the document
Store the RecordEngine document URL on the Dynamics record so your team can jump directly to the full document and extraction results.
Step 1 — Upload Documents with Dynamics References
When uploading a document via the API, include the Dynamics record details inexternal_refs:
record_type values (use Dynamics entity logical names): account, opportunity, invoice, contact, lead
Step 2 — Connect Dynamics 365 in Your Automation Platform
Connect your Dynamics 365 environment using the native Microsoft Dynamics connector. You’ll need:- Dynamics 365 environment URL (e.g.
https://yourorg.crm.dynamics.com) - User account with API access (System Customizer or higher role)
- OAuth connection authorised through your automation platform
Step 3 — Build the Document → Dynamics Scenario
Trigger: RecordEngine Document Webhook (Custom Webhook) Action 1: Parse the incoming webhook payload Action 2: Microsoft Dynamics 365 — Update Record- Entity: use
external_refs.dynamics.record_type(e.g.opportunity) - Record ID: use
external_refs.dynamics.record_id - Map extracted fields to Dynamics field names (see field mapping table below)
- Set the Note description to
ai_summaryfrom the payload - Relate the Note to the record using the same record ID and type
Field Mapping Reference
Dynamics 365 uses logical field names (lowercase, no spaces) in its API — not the display names shown in the UI. To find the logical name for a field, open the field in the Dynamics customisation area and look for the Name property.
Step 4 — Store the Document Deep-Link
RecordEngine includesdoc_url in every webhook payload. Store this on the Dynamics record for one-click navigation from CRM to document.
To add a URL field to a Dynamics entity:
- Go to Settings → Customizations → Customize the System
- Open the entity (e.g. Opportunity)
- Add a new field: Data Type = URL, Display Name = RecordEngine Document, Name =
new_recordengineurl - Publish the customisation
doc_url from the webhook payload to this new field.
Scenario B — Dynamics Event → Upload to RecordEngine
Trigger document uploads from Dynamics automatically — for example, when an Opportunity reaches “Proposal” stage, upload a document template for processing. Trigger: Microsoft Dynamics 365 — Watch Record Changes (Opportunity stage = “Proposal”) Action: HTTP — POST to RecordEngine API- URL:
https://YOUR-INSTANCE/api/documents/upload - Headers:
Authorization: Bearer YOUR_TOKEN - Body: multipart/form-data with file, contact_id, folder_id, and
external_refscontaining the Dynamics record ID
Dynamics 365 Finance & Operations (D365 F&O)
For organisations using Dynamics 365 Finance & Operations (the ERP module, not just CRM), the integration approach is the same but targets different entities:
Use the D365 F&O REST API (OData endpoint) in your automation platform instead of the standard Dynamics CRM connector.
Troubleshooting
For more help see Integration Troubleshooting.