Dify icon

Dify

Dify API と連携してチャット・ワークフロー・テキスト補完・アプリ情報取得を行う

アプリ情報取得

AI-generated

Summary

Fetch application information from Dify

Inputs

  • operation — Select the operation to perform; options include chatMessage, runWorkflow, textCompletion, getAppInfo
  • query (required) — Message or query text to send, required for chatMessage, runWorkflow, and textCompletion operations
  • user (required) — Unique identifier for the end user, required for chatMessage, runWorkflow, and textCompletion
  • inputs — JSON object of input variables defined by the application
  • conversationId — Identifier of an existing conversation to continue; empty starts a new conversation
  • completionQuery — Query string for text completion operations

Output shape

a single JSON object representing the application information returned by Dify

The shape depends on the selected operation; other operations return the API response payload wrapped in execution metadata.

Examples

Example 1: Retrieve Dify app metadata

Set operation to 'getAppInfo'; leave other fields empty; credentials must include Dify API URL and key.

Example 2: Send a chat message

Choose operation 'chatMessage', fill query and user, optionally set inputs and conversationId, then connect to Dify API credentials.

Links

Discussion