Skip to main content

Dify

Shanone’s Dify integration gives your agent 65 tools for the Dify AI application platform: chat/completion messages, workflows, knowledge base management, document processing, chunks, tags, metadata, and annotations.

Getting Started

1

Get a Dify App API Key

In your Dify app, go to API Access and copy the app’s API Key (starts with app-).
2

Add it to Shanone

Open Integrations in the Shanone dashboard, select Dify, and paste in the API Key.
3

Retry your request

Once saved, shanone_execute_tool calls for dify_* tools will succeed.
Dify API Keys are scoped to a single app (or knowledge base). If you need to work across multiple Dify apps, you may need separate connections or check how your Shanone workspace manages multiple Dify keys.

Available Tools

Shanone provides 65 tools for Dify, organized into these categories:
dify_chat_message, dify_completion_message
dify_list_conversations, dify_get_conversation_messages, dify_delete_conversation, dify_rename_conversation, dify_get_next_suggested_questions, dify_list_conversation_variables, dify_update_conversation_variable
dify_run_workflow, dify_stop_workflow, dify_get_workflow_run_detail, dify_list_workflow_logs, dify_get_workflow_events
dify_list_documents, dify_get_document, dify_create_document_by_text, dify_create_document_by_file, dify_update_document_by_text, dify_delete_document, dify_get_document_indexing_status, dify_retrieve_chunks, dify_download_document, dify_update_document_status_batch
dify_list_knowledge_bases, dify_get_knowledge_base, dify_create_knowledge_base, dify_update_knowledge_base, dify_delete_knowledge_base
dify_list_chunks, dify_get_chunk, dify_create_chunks, dify_update_chunk, dify_delete_chunk, dify_list_child_chunks, dify_create_child_chunk, dify_delete_child_chunk
dify_list_metadata_fields, dify_get_builtin_metadata_fields, dify_create_metadata_field, dify_update_metadata_field, dify_delete_metadata_field, dify_update_builtin_metadata_field, dify_update_document_metadata_batch
dify_list_knowledge_tags, dify_create_knowledge_tag, dify_update_knowledge_tag, dify_delete_knowledge_tag, dify_bind_tags_to_knowledge_base, dify_unbind_tags_from_knowledge_base
dify_list_annotations, dify_create_annotation, dify_update_annotation, dify_delete_annotation, dify_configure_annotation_reply, dify_get_annotation_reply_job_status
dify_message_feedback, dify_get_app_parameters, dify_get_app_meta, dify_get_app_info, dify_get_app_webapp_settings
dify_upload_file, dify_download_file, dify_convert_audio_to_text, dify_convert_text_to_audio

Common Use Cases

Conversational app orchestration

Send chat messages to a Dify app and manage the resulting conversation history

Knowledge base curation

Upload documents, review indexing status, and manage chunks for RAG-backed apps

Workflow automation

Trigger a Dify workflow app and monitor its run through completion

Answer quality tuning

Review message feedback and configure annotation replies to correct recurring answers

Troubleshooting

Chat apps and Completion apps use different endpoints — use dify_completion_message instead of dify_chat_message if your Dify app is configured as a Text Generator / Completion app rather than a Chatbot.
Poll dify_get_document_indexing_status — large files or documents with heavy chunking rules can take a while; if it never finishes, check the file format is supported by the knowledge base’s configured indexing method.
For workflows with slow steps, don’t wait on the initial call alone — poll dify_get_workflow_run_detail with the returned workflow_run_id until the status is terminal.