MULTI-APP TOOLKIT
Build with Freshdesk + Microsoft Graph API
- Multi-app
- One MCP session
- 57 actions
- 4 triggers
- Managed auth
MCP
One MCP session, both toolsets
One session gives your product or agent every Freshdesk and Microsoft Graph API tool at once — connect once, list tools, and call them like any single-app session.
// accessToken: mint a short-lived token with the Connect SDK — see the MCP guide
const transport = new StreamableHTTPClientTransport(
new URL("https://remote.mcp.pipedream.net/v3"),
{
requestInit: {
headers: {
Authorization: `Bearer ${accessToken}`,
"x-pd-project-id": "{project_id}",
"x-pd-environment": "production",
"x-pd-external-user-id": "{external_user_id}", // any stable ID for this user in your system
"x-pd-app-slug": "freshdesk,microsoft_graph_api",
},
},
},
)
const mcp = new Client({ name: "my-agent", version: "1.0.0" })
await mcp.connect(transport)
const { tools } = await mcp.listTools()
// One list, both toolsets: Freshdesk and Microsoft Graph API tools arrive
// together, each keyed by its own app's slug.
// e.g. run Add Note to Ticket:
const result = await mcp.callTool({
name: "freshdesk-add-note-to-ticket",
arguments: {
ticketId: 10,
body: "Note Body",
},
})import { PipedreamClient } from "@pipedream/sdk"
const pd = new PipedreamClient({
projectId: process.env.PIPEDREAM_PROJECT_ID!,
clientId: process.env.PIPEDREAM_CLIENT_ID!,
clientSecret: process.env.PIPEDREAM_CLIENT_SECRET!,
projectEnvironment: "production",
})
const externalUserId = "{external_user_id}" // any stable ID for this user in your system
const [freshdeskTools, microsoftGraphApiTools] =
await Promise.all([
pd.components.list({ app: "freshdesk" }),
pd.components.list({ app: "microsoft_graph_api" }),
])
// One external user owns both connected accounts, so either app's tools
// run on their behalf with the same externalUserId.curl "https://api.pipedream.com/v1/connect/{project_id}/components?app=freshdesk" \
-H "X-PD-Environment: production" \
-H "Authorization: Bearer {access_token}"
curl "https://api.pipedream.com/v1/connect/{project_id}/components?app=microsoft_graph_api" \
-H "X-PD-Environment: production" \
-H "Authorization: Bearer {access_token}"
# Connect both accounts to the same external_user_id, then
# configure and invoke either app's tools on that user's behalf.ARCHITECTURE
One user, two connected accounts
Your user connects each account once, under whatever ID they already have in your product. The two stay independent — either can be revoked on its own — and your code reaches both through that one user.
Your product
external_user_id
{external_user_id}Pipedream Connect
Managed identity
Auth · tools · routing
Freshdesk
Connected account
Microsoft Graph API
Connected account
TOOLS
Freshdesk tools
The Freshdesk tools this pairing puts in reach, each one running on your user's own connected account.
Actions top 8 of 57
-
Add Note to Ticket
actionAdd a note or conversation to an existing ticket. See the documentation.Writev0.0.11 -
Add Ticket Tags
actionAdd tags to a ticket (appends to existing tags). See the documentationWritev0.0.13 -
Assign Ticket to Agent
actionAssign a Freshdesk ticket to a specific agent. See the documentation.Writev0.0.13 -
Assign Ticket to Group
actionAssign a Freshdesk ticket to a specific group See the documentation.Writev0.0.13 -
Close Ticket
actionSet a Freshdesk ticket's status to 'Closed'. See docsWritev0.0.13 -
Create a Company
actionCreate a company. See the documentationWritev0.0.16 -
Create a Contact
actionCreate a contact. See the documentationWritev0.0.16 -
Create a Reply
actionCreate a reply to a ticket. See the documentation.Writev0.0.8
Triggers
-
Contact Updated
triggerEmit new event when a contact is updated. See the documentationv0.0.10 -
New Contact Created
triggerEmit new event when a contact is created. See the documentationv0.0.17 -
New Ticket Created
triggerEmit new event when a ticket is created. See the documentationv0.0.17 -
Ticket Updated
triggerEmit new event when a ticket is updated. See the documentationv0.0.10
TOOLS
Microsoft Graph API tools
The Microsoft Graph API tools this pairing puts in reach, each one running on your user's own connected account.
Actions
No Microsoft Graph API actions are available yet.
Triggers
No Microsoft Graph API triggers are available yet.
MULTI-APP
Works with more apps
The combinations customers connect alongside these two — nothing here is limited to a pair.
REFERENCE
Toolkit details
- x-pd-app-slug
- freshdesk,microsoft_graph_api
- Primary app
- Freshdesk (freshdesk)
- Second app
- Microsoft Graph API (microsoft_graph_api)
- Authentication
- API key + OAuth
- Available actions
- 57
- Available triggers
- 4