directline-chat

Send messages to bots via DirectLine v3 REST API with Node.js.

Updated Mar 24, 2026
One-click install
npx skills add https://github.com/javiarmesto/CIRCE-Agent-Squad-for-Microsoft-Copilot-Studio --skill directline-chat
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: directline-chat
Source: https://github.com/javiarmesto/CIRCE-Agent-Squad-for-Microsoft-Copilot-Studio/tree/main/.github/skills/directline-chat
Command: npx skills add https://github.com/javiarmesto/CIRCE-Agent-Squad-for-Microsoft-Copilot-Studio --skill directline-chat

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires node, and includes scripts (resource) components.

What problem does it solve?

This Skill simplifies the process of sending messages to bots via DirectLine API, making it easier to integrate and interact with bots directly within applications.

Core Features & Use Cases

  • DirectLine API Integration: Send messages to any bot using DirectLine v3 REST API.
  • Connection Modes: Supports both Token Endpoint and DirectLine Secret modes for secure connections.
  • Multi-Turn Conversations: Handle multi-turn conversations with bots, supporting authentication and follow-up messages.
  • Error Handling: Includes comprehensive error handling for various scenarios like token endpoint rejection, authentication failure, and network errors.

Quick Start

Send a message to the bot using the directline-chat skill. Example: "What is the weather like today?"

Frequently Asked Questions about directline-chat

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I send messages to a bot using the DirectLine v3 REST API?

To send messages to a bot using the DirectLine v3 REST API, you can use this Skill to integrate DirectLine API connections, handle authentication, and exchange messages directly within your applications.

Can I handle multi-turn conversations with a bot via DirectLine API?

Yes, you can handle multi-turn conversations with a bot via DirectLine API. This Skill supports sending follow-up messages and managing authentication throughout the ongoing bot interaction.

What is the best way to authenticate with DirectLine API for bot interaction?

The best way to authenticate with DirectLine API for bot interaction is using either the Token Endpoint or DirectLine Secret modes, both of which are supported by this Skill for secure connections.

Do I need Node.js to integrate DirectLine API for bot interactions?

Yes, you need Node.js installed to integrate DirectLine API for bot interactions. This Skill requires Node.js for executing the scripts necessary to run the DirectLine v3 REST API requests.

Why does my DirectLine API connection fail during bot interaction?

Your DirectLine API connection might fail during bot interaction due to token endpoint rejection, authentication failure, or network errors. This Skill includes comprehensive error handling for these specific scenarios.

Does directline-chat work with any bot using DirectLine v3?

Yes, directline-chat works with any bot using DirectLine v3. It integrates with the DirectLine REST API to enable message exchange, making it suitable for applications requiring direct bot interaction.