Actions4
チャットメッセージ送信
AI-generatedSummary
Sends a chat message to a Dify conversation.
Inputs
- query (required) — Message to send to the chat app.
- user (required) — Unique identifier for the end user.
- inputs — App-defined input variables as a JSON object.
- conversationId — Existing conversation ID to continue; empty starts a new conversation.
Output shape
An array of execution metadata objects
Each entry contains the response data wrapped in execution metadata; may be empty on failure unless continueOnFail is enabled.
Examples
Example 1: Start a new chat by sending an introductory message.
Set query to "Hello, how can I help?", user to "user_123", leave inputs empty and conversationId blank.
Example 2: Send a follow‑up message in an ongoing conversation.
Set query to "Can you elaborate on that?", user to "user_123", conversationId to "conv_456", inputs empty.
Example 3: Include additional data in the payload.
Set query to "Schedule a meeting tomorrow", user to "user_789", inputs to '{"meeting_type":"audio"}', and optionally set conversationId to continue a prior thread.