capabilities.work

Suggest a Mention and Start a Conversation

A 2-step recipe with Dust. We can help you get access.

Recipe · 2 steps

Suggest a Mention and Start a Conversation

with Dust

Get an agent mention suggestion and open a conversation mentioning it.

  1. Fetch mention suggestions limited to agents for the supplied query and capture the id of the first suggested agent.
  2. Open a conversation seeded with a message that mentions the first suggested agent.
What you'll need to have ready
  • apiToken: Dust API key used as the Bearer token.
  • wId: The workspace identifier.
  • query: Mention query string used to filter agent suggestions.
  • content: The text of the first human message in the conversation.
  • title: Optional title for the new conversation.
For your developer

Arazzo workflow dust-tt:suggest-mention-and-converse, 2 operations: {$sourceDescriptions.mentionsApi.url}#/paths/~1api~1v1~1w~1{wId}~1assistant~1mentions~1suggestions/get → {$sourceDescriptions.conversationsApi.url}#/paths/~1api~1v1~1w~1{wId}~1assistant~1conversations/post. Specs on APIs.io.