> ## Documentation Index
> Fetch the complete documentation index at: https://docs.famulor.io/llms.txt
> Use this file to discover all available pages before exploring further.

# Microsoft Dynamics 365 Integration

> Comprehensive Dynamics 365 ERP integration for product search and order management during customer conversations

# Microsoft Dynamics 365 Integration Template

## Tool 1: Product Search

### Configuration in the Famulor Interface

<Tabs>
  <Tab title="Tool Details">
    \| **Name**\* | `Dynamics 365 Product Search` |
    \| **Function Name**\* | `search_dynamics_products` |
    \| **HTTP Method** | `GET` |
    \| **Endpoint**\* | `https://{{DYNAMICS_INSTANCE}}.crm.dynamics.com/api/data/v9.2/products` |
  </Tab>

  <Tab title="Query Parameters">
    ```json theme={null}
    {
      "$filter": "contains(name, '{search_term}') or productnumber eq '{product_number}'",
      "$select": "name,productnumber,price,quantityonhand,description",
      "$top": "10"
    }
    ```
  </Tab>
</Tabs>

**Success Template**: `"Found: {{products[0].name}} ({{products[0].productnumber}}), Price: €{{products[0].price}}, Stock: {{products[0].quantityonhand}} units"`

## Tool 2: Create Order

### Configuration in the Famulor Interface

<Tabs>
  <Tab title="Tool Details">
    \| **Name**\* | `Dynamics 365 Create Order` |
    \| **Function Name**\* | `create_dynamics_order` |
    \| **HTTP Method** | `POST` |
    \| **Endpoint**\* | `https://{{DYNAMICS_INSTANCE}}.crm.dynamics.com/api/data/v9.2/salesorders` |
  </Tab>
</Tabs>

**Success Template**: `"Order has been created. Order number: {{orderNumber}}. Delivery scheduled for {{delivery_date}}."`

***

<Tip>
  Related pages: [Introduction](/en/automation-platform/introduction) and [Building Flows](/en/automation-platform/building-flows), and [Debugging Runs](/en/automation-platform/debugging-runs).
</Tip>

<Tip>
  Need a whole toolset instead of building HTTP actions one by one? Connect an external **MCP server** — tools are discovered automatically. See [MCP Servers](/en/platform/mcp-servers).
</Tip>
