View as Markdown
Dust icon

Dust ACTION

Talk to Assistant

Send a message to an assistant on Dust and receive an answer. See the documentation
  • Action
  • Writes data
  • API key
  • SDK
  • MCP

IMPLEMENTATION

Call this tool

Connect a user's Dust account once, then configure and run Talk to Assistant from your backend or agent.

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 result = await pd.actions.run({
  id: "dust-talk-assistant",
  externalUserId: "{external_user_id}", // any stable ID for this user in your system
  configuredProps: {
    dust: { authProvisionId: "apn_xxxxxxx" },
    assistantId: "Assistant ID",
    content: "Message Content",
  },
})

console.log(result)

SCHEMA

Inputs

Pipedream supplies the connected account. Your application provides the operation-specific values below. Dynamic inputs are resolved against that user's account.

Talk to Assistant inputs
Property Type Description
assistantId Assistant ID string
Select the name of your Assistant from the list. Your Dust Assistant must be a Shared or Company Assistant. Personal Assistants are not visible in this list.
Required Dynamic
content Message Content string
The content of the message to be sent to the assistant
Required
timezone Timezone string
Set the timezone in which you want to operate.
Required
username Username string
The name to be displayed in the conversation.
Required
email Email string
Put an email if needed.
Required

REFERENCE

Tool details

Behavior hints are published with the component in the Pipedream registry and surface as MCP tool annotations, so an agent can reason about a tool before it calls it.

Registry key
dust-talk-assistant
Version
0.0.2
App
Dust
Authentication
API key
Read-only
No
Destructive
No
Open world
Yes