Microsoft Dynamics CRM Spoke
Provide the baseline actions to interact with Microsoft Dynamic Entities through introspection.
Integration Hub subscription
This spoke requires an Integration Hub subscription. For more information, see Legal schedules - IntegrationHub overview.
Spoke version
Microsoft Dynamics CRM spoke v1.9.0 is the latest version.
Spoke dependencies
- ServiceNow IntegrationHub Action Step - REST (com.glide.hub.action_step.rest)
- ServiceNow Flow Designer - Dynamic Inputs (com.glide.hub.dynamic_inputs)
- ServiceNow IntegrationHub Runtime (com.glide.hub.integration.runtime)
- Complex Object (com.glide.cobject)
- ServiceNow Flow Designer - Dynamic Outputs (com.glide.hub.dynamic_outputs)
- ServiceNow IntegrationHub Action Template - Data Stream (com.glide.hub.action_type.datastream)
Spoke flows
| Flow | Description |
|---|---|
| Create Opportunity in Dynamics CRM | Creates an opportunity in Dynamics CRM and updates the opportunity record in your ServiceNow instance. |
Spoke subflows
| Subflow | Description |
|---|---|
| Process Dynamics CRM Webhook | Receives the Dynamic CRM webhook notification and converts it into an array of objects and logs the details. |
| Process Dynamics CRM Webhook for Opportunity | Receives the Dynamic CRM webhook notification and updates the opportunity table record. |
Available sample conversational subflows
Install Now Assist for Conversational Spokes and start using the conversational ability of Integration Hub spokes. For more information, see Now Assist in Conversational Spokes.
| Conversational subflow | Usage |
|---|---|
| Look up Opportunities - Sample | Retrieves opportunity details from Microsoft Dynamics CRM based on the specified filter criteria. |
| Look up Contacts - Sample | Retrieves contact details from Microsoft Dynamics CRM based on the specified filter criteria. |
| Look up Accounts - Sample | Retrieves account details from Microsoft Dynamics CRM based on the specified filter criteria. |
| Look up Leads - Sample | Retrieves leads details from Microsoft Dynamics CRM based on the specified filter criteria. |
| Create Lead - Sample | Creates lead in Microsoft Dynamics CRM. |
In this example, a lead is created for John Smith who is interested in CRM Software and is focused on improving sales processes.
Spoke actions
The Microsoft Dynamics CRM spoke provides the baseline actions to interact with Microsoft Dynamic Entities through introspection.
| Category | Action | Description |
|---|---|---|
| Account Management | Create Account | Create an account in Microsoft Dynamics CRM. |
| Look up Account Details by Account ID | Retrieve the details of the required account in Microsoft Dynamics CRM. | |
| Look up Accounts Stream | Retrieve details of all the accounts in Microsoft Dynamics CRM. | |
| Case Management | Create Case | Create case in Microsoft Dynamics CRM. |
| Look up Case Details by Case ID | Retrieve details of the specified case in Microsoft Dynamics CRM. | |
| Contact Management | Create Contact | Create contact in Microsoft Dynamics CRM. |
| Look up Contact Details by Contact ID | Retrieve details of the required contact in Microsoft Dynamics CRM. | |
| Look up Contacts Stream | Retrieve details of all the opportunities in Microsoft Dynamics CRM. | |
| Lead Management | Create Lead | Create lead in Microsoft Dynamics CRM. |
| Look up Lead Details by Lead ID | Retrieve details of the required lead in Microsoft Dynamics CRM. |
|
| Metadata Retrieval | Look up Entities | Retrieve all the entities and their logical names in Microsoft Dynamics CRM. |
| Look up Entity Metadata | Retrieve all the metadata available for the required entity type in Microsoft Dynamics CRM. | |
| Look up Entity URL | Retrieve all the entities and its entity set name (public URL name) available in Microsoft Dynamics CRM. | |
| Look up Field Choice List | Retrieve all the choice lists for the fields that are in the name and label pair format. | |
| Opportunity Management | Create Opportunity | Create an opportunity in Microsoft Dynamics CRM. |
| Look up Opportunities Stream | Retrieves details of all the opportunities in Microsoft Dynamics CRM. | |
| Look up Opportunity Details by Opportunity ID | Retrieve the details of the required opportunity in Microsoft Dynamics CRM. | |
| Record Management | Create Record | Create a record in Microsoft Dynamics CRM. |
| Delete Record | Deletes a record in Microsoft Dynamics CRM. | |
| Look up Primary Attributes and Logical Name | Retrieve primary attributes and logical name for the specified entity. | |
| Look up Record by Record ID | Retrieve information of the specified record in an Entity. | |
| Look up Record by Search Query | Retrieve record based on the search query and entity selected from the choice list. | |
| Look Up Records (Before Paris Version) | Retrieve records based on the search query and specific entity. | |
| Look up Records Stream | Retrieve records based on the search query and specific entity. | |
| Subflow Helper Action | Parses the JSON input and converts it into an array object. This can action can be used for creating subflows. | |
| Update Record | Update a record in Microsoft Dynamics CRM. |
Available AI agents
Install Now Assist for Integration Hub and start using the available AI agents. For more information, see Now Assist for Integration Hub.
- In the ServiceNow agentic system, you can create an agentic workflow that comprises of a set of large language model (LLM) instructions along with one or more standalone AI agents to execute an
objective. See Create an agentic workflow for information about adding AI agents to create agentic workflows as per your requirement and provide the required trigger.
You can also search for other available AI agents and add them to your agentic workflow. See Find AI agents for more information.
- You can create a clone of the required spoke AI agent and customize it as per your requirement. See Duplicate an AI agent for more information about creating a clone.
- See Now Assist AI agents for information about AI agents.
Available AI agents include:
| AI agent | Description |
|---|---|
| Microsoft Dynamics CRM record management AI agent | Manages CRM records including deleting, and retrieving the required records. |
| Microsoft Dynamics CRM case management AI agent | Creates case in Microsoft Dynamics CRM and retrieves details of the specified case. |
| Microsoft Dynamics CRM contact management AI agent | Retrieves contact streams and contact details by ID, and creates new contacts. |
| Microsoft Dynamics CRM lead management AI agent | Creates lead in Microsoft Dynamics CRM and retrieves details of the required lead. |
| Microsoft Dynamics CRM account management AI agent | Creates an account in Microsoft Dynamics CRM and retrieves details of the required accounts. |
| Microsoft Dynamics CRM opportunity management AI agent | Creates opportunities, retrieves opportunity details, parses CRM entity data, and manages opportunity streams. |
There might be AI agents installed with the Now Assist application that are not used in agentic workflows. To learn how to see all agents that are available to you, see Find AI agents.
Spoke module
The Microsoft Dynamics CRM spoke adds a Microsoft Dynamics CRM module to your ServiceNow instance. The Opportunities module displays the details of the opportunities.
Connection and credential alias requirements
Integration Hub uses aliases to manage connection and credential information, and OAuth credentials. Using an alias eliminates the need to configure multiple credentials and connection information profiles when using multiple environments. If the connection or credential information changes, you don't need to update any actions that use the connection.
This spoke uses the Microsoft_Dynamics_CRM alias record to authorize actions.
| Connection alias | Description | Connection URL |
|---|---|---|
| Microsoft_Dynamics_CRM | Connection to Microsoft Dynamics CRM | URL configured when you create your application in Azure. This URL ends with dynamics.com. |
For information about setting up the spoke, see Set up Microsoft Dynamics CRM spoke.