Getting started with Oneflow x Dynamics CRM - 3.8.1.18 and above

Christoffer Utterborn
Christoffer Utterborn
  • Updated

Install and Configure Oneflow for Dynamics 365

NOTE

To install and use the Oneflow app for Dynamics 365:

  • Your Microsoft account must have the Global admin role.
  • Your Microsoft account needs to have at least one Environment set up.
  • Use the same email address for your Oneflow and Dynamics 365 accounts.

Create an environment

  1. Log in to Dynamics 365 and open the Power Platform admin center.
  2. Click Manage in the sidebar.

    Power Platform Admin Center
  3. Select Environments from the side panel and click + New.

    Create New Environment
  4. Enter a name for your environment, select its Region and Type, then click Save.

    Environment Details

Install the Oneflow app for Dynamics

  1. Open the Oneflow for Dynamics 365 app page and click Get it now.
Get Oneflow App
  1. Select the environment where you want to install Oneflow and agree to the terms by checking the boxes.
Select Environment and Agree to Terms
  1. Click Install.

Select Environment

  1. In Dynamics 365, click the current app name to access the apps page.

    Dynamics 365 Apps Page
  2. Select Oneflow Administration.

    Oneflow Administration App
  3. On the Get Started tab, select an environment: Production or Test.

    Select Environment Tab

    NOTE

    If you have separate accounts in Dynamics 365 and Oneflow for testing and production environments:

    • Connect your Dynamics 365 testing account to the Oneflow test environment.
    • Connect your Dynamics 365 production account to the Oneflow production environment.
  4. Click Connect Oneflow. You will be redirected to the Dynamics extension page in the Oneflow marketplace.

    NOTE

    Production is your live environment for end users and real business activity. A Test environment lets you experiment safely. You can create a separate Oneflow account for testing at app.test.oneflow.com.

Connect Oneflow to Dynamics 365

  1. On the 'Dynamics CRM' extension page, enter your Dynamics CRM instance URL (the URL you use to access your organization’s Dynamics 365 account).

    Dynamics CRM Extension Page
  2. Click Authenticate with Dynamics CRM to proceed. You’ll be redirected to Microsoft Dynamics 365.
  3. Sign in to your Microsoft account and click Accept when prompted for permissions.

    Upon successful authentication, you will be redirected back to the Dynamics extension page in Oneflow.
    The Microsoft account granting permissions should have Global Admin rights. The authorized Dynamics instance URL will be shown on this page.

    Authorized Dynamics Instance

Once Dynamics 365 is successfully connected to Oneflow, a green tick will appear on the extension page next to the "Connection to Dynamics is active" label, confirming the connection is active.

Active Connection Indicator

To disconnect your Oneflow account from Dynamics 365 (Warning: This action cannot be undone): Click the trash can icon next to the connected URL.

Verify your connection

  1. In Dynamics 365, click the current app name to switch between apps.
  2. Select Oneflow Administration.

    Oneflow Administration Selection
  3. On the Get Started tab, select Production or Test.
  4. Click Connect Oneflow to verify the connection. A green check mark should appear.

    Verify Connection

Assigning roles

  1. Log in to Dynamics 365 and open the Power Platform admin center.
  2. Click Manage in the sidebar.
    Manage Settings
  3. Select Environments and open your environment (Production or Sandbox).

    Select Environment
  4. Click Settings.

    Settings Menu
  5. Expand Users + permissions and select Users.

    Users Menu
  6. Select your user name.

    Select User
  7. Click Manage roles.

    Manage Roles
  8. Select a role and click Save.

    • Oneflow User: Access to the Oneflow contract widget inside Dynamics 365 (recommended for most end users).
    • Oneflow Admin: Access to the Oneflow Administration Hub to manage configuration (entities, field mapping, sync rules).
    Select Role
  9. Click Save again when prompted.

    Confirm Save
Role Assignment Complete

Add the Oneflow widget to your opportunity form

To start creating contracts:

To create contracts from an Opportunity (or another entity), add the Oneflow widget to the form.

Create a template for Dynamics in Oneflow

You need to activate the Dynamics template group separately for each template:

  1. In Oneflow, go to Templates and click Create template or open an existing template. Alternatively, click Template library, select a template, and click Confirm.
Create Template in Oneflow
Select Template
  1. Click the Data fields icon in the side panel. From the Select playbook dropdown, select Dynamics CRM Template and Save the template.
Select Template Group
  1. After setting up the template group, you can create data fields for information that should be automatically passed from Dynamics 365 objects to your Oneflow contract (recommended).

You may add data fields to a text or form section:

Text section: place the cursor where you want the data field and click the tag icon (insert data-field) in the toolbar. Choose a field and click Confirm.

Insert Data Field Icon
Select Data Field

Form section: click on a field in the form, then select the field from the data field dropdown and click Save.

Map Form Field

The data fields get marked with a link icon in Form sections:

Linked Data Field Indicator

NOTE

If your template has no Form field, you can add one via the + icon > Form > Add field.

Add Form Field
  1. If you wish to attach files or PDFs to contracts, add an Attachments section and a PDF document section to your template (Recommended).
  2. Click Publish to activate the template.
Publish Template

INFORMATION

The template must be active in Oneflow to show up in the Oneflow widget in Dynamics 365.

Create a contract in Dynamics

To start creating contracts:

To create contracts from an Opportunity (or another entity), add the Oneflow widget to the form.

After you have added the Oneflow widget to the form, and created a template, you may now create contracts from Dynamics 365 entities.

  1. Log in to Dynamics 365 and open an existing Opportunity (or create a new one).
  2. On the Oneflow widget, click Create contract.

  3. Customize the contract name, and select your Oneflow Workspace. This will populate the Template dropdown with the templates contained in that workspace. Select a Template to proceed.

    INFORMATION

    You can customize the default behavior of the Workspace and Template dropdown fields in General settings.

  4. Select which participants you want to add to the contract by clicking the checkboxes, and select a role. To set the participant type, click the pencil icon next to each participant.

    Role in contract: Select a role for each participant in the contract. 
          • Signatory: can sign the contract. 
          • Influencer: can edit the contract. 
          • Viewer: can view and comment on the contract.   

    Participant type
    Selecting 'Party' adds the contact as a participant in the Oneflow contract as a representative of that company/account (you can have multiple participants under one company). 
    Selecting 'Individual' will add the contact as an individual participant in the contract.

    Select Participant Type

  5. Attach files (optional), then click Create contract. The contract will open in a pop-up window.

    NOTE

    To attach files, your selected Oneflow template should contain an attachments section and/or an ‘expanded PDF’ section.

  6. The contract's information appears in the Oneflow widget. Click the contract name to open it in Oneflow. Use the arrows to view additional contracts created from the object.

General settings in Oneflow for Dynamics 365

  1. In Dynamics 365, click the current app name to go to the apps page.

    Go to Apps Page
  2. Select Oneflow Administration.

    Select Oneflow Administration
  3. On the General Settings tab, expand the sections to configure preferences.

Create contract: Workspace and Template selection 

Enable this toggle if you want to select the Oneflow Workspace and Template each time you create a contract via Dynamics 365 (the fields open blank).

If this field is disabled, the Workspace and Template fields will automatically select the first option that appears in each dropdown. This may not match your last-used selection.

Configure account and contact fields (recommended)

  • Select which entity fields in Dynamics 365 map to Oneflow fields.
  • Example: Map Oneflow’s Org. number to the Dynamics 365 Account Number on the Account entity.

Contract opening preferences

  • Disabled: Contracts will open directly within the Dynamics 365 tab in a frame. This keeps you inside Dynamics 365 for a seamless experience.

  • Enabled: Contracts will open in a separate browser tab.
    If you experience issues with Single Sign-On (SSO) or restrictive browser security settings (such as third-party cookie blocking) that prevent the contract from loading inside the Dynamics frame, enable this setting to resolve the issue.

Next steps

You can now configure Two-way sync for data fields and products.

TWO-WAY SYNC

Learn more about configuring two-way synchronization for your data and products:

SET UP CUSTOM ENTITIES

You can also set up contract creation, and two-way sync for custom entities.

Was this article helpful?

0 out of 0 found this helpful

Have more questions? Submit a request