18. Add Pipelines to Handle CRM Accounts
For each CRM account you must read the CRM contacts who are associated
with the CRM account. A pipeline is used to define the logic that reads
the CRM contacts that are associated with the CRM account and iterates
those CRM contacts.
Note
You have not yet configured the pipeline that will read the entities
from CRM. The pipeline that handles each entity is used in the
pipeline that reads the entities, so the pipeline that handles
each entity is configured first.
- Navigate to your tenant.
- Navigate to Pipelines > CRM Account Pipelines.
- Add the following item:
Template |
Pipeline |
Name |
Read Members from Single CRM Account Pipeline |
- Navigate to Read Members from Single CRM Account Pipeline.
- Add the following item:
Template |
Read CRM Account Membership Pipeline Step |
Name |
Read Members from Single CRM Account |
- Set the following field value:
Field |
Endpoint for Dynamics CRM entity repository |
Value |
Dynamics CRM > Dynamics CRM Entity Endpoint |
- Set the following field value:
Field |
Entity name |
Value |
accountmembership |
- Set the following field value:
Field |
Attributes to read |
Value |
Common CRM Entity Attributes, CRM Contact Attributes Minimal |
- Save the item.
- Navigate to Read Members from Single CRM Account Pipeline.
- Add the following item:
Template |
Iterate Data and Run Pipelines Pipeline Step |
Name |
Iterate CRM Members and Run Pipelines |
- Set the following field value:
Field |
Pipelines |
Value |
CRM Account Membership to xDB Contact Sync Pipeline |
- Save the item.
- Navigate to Read Members from Single CRM Account Pipeline.
- Change the order of the child items to the following:
- Read Members from Single CRM Account
- Iterate CRM Members and Run Pipelines