Dify
difyRun and inspect a published Dify Workflow app through its Service API, including configuration and workflow run history.
Acciones disponibles (4)
Cada acción es una operación que el agente puede ejecutar contra este conector. Haz clic en una acción para ver sus parámetros.
Get Workflow App ConfigurationDIFY_GET_WORKFLOW_APP_CONFIGURATIONAcciónReturn the connected Workflow app's identity, declared input form and upload limits, tool icons, and hosted-site settings. If the app is unpublished, the response identifies the unavailable parameters section while preserving the other metadata.
DIFY_GET_WORKFLOW_APP_CONFIGURATIONAcciónReturn the connected Workflow app's identity, declared input form and upload limits, tool icons, and hosted-site settings. If the app is unpublished, the response identifies the unavailable parameters section while preserving the other metadata.
Parámetros de entrada
Sin parámetros.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Get Workflow RunDIFY_GET_WORKFLOW_RUNAcciónReturn one workflow run's status, inputs, arbitrary outputs, error, and execution metrics by run ID.
DIFY_GET_WORKFLOW_RUNAcciónReturn one workflow run's status, inputs, arbitrary outputs, error, and execution metrics by run ID.
Parámetros de entrada
workflow_run_idstringObligatorioWorkflow run ID returned by DIFY_RUN_WORKFLOW or DIFY_LIST_WORKFLOW_RUNS.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
List Workflow RunsDIFY_LIST_WORKFLOW_RUNSAcciónReturn one page of run summaries for the connected Workflow app, with filters and a continuation cursor for older or additional runs.
DIFY_LIST_WORKFLOW_RUNSAcciónReturn one page of run summaries for the connected Workflow app, with filters and a continuation cursor for older or additional runs.
Parámetros de entrada
limitintegerMaximum run summaries to return in this page (1-100).
statusstringenumExecution status to include.
succeededfailedstoppedkeywordstringKeyword to search for in workflow run logs.
next_cursorstringContinuation cursor returned by the previous call; omit for the first page.
created_afterstringdate-timeReturn runs created after this ISO 8601 timestamp.
creator_emailstringLimit results to runs created by this Dify account email address.
created_beforestringdate-timeReturn runs created before this ISO 8601 timestamp.
end_user_session_idstringLimit results to the end-user session ID that created the run.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Run WorkflowDIFY_RUN_WORKFLOWAcciónRun the connected app's latest published workflow in blocking mode and return its app-defined outputs. Inspect the app configuration first: the configured workflow may perform irreversible external side effects.
DIFY_RUN_WORKFLOWAcciónRun the connected app's latest published workflow in blocking mode and return its app-defined outputs. Inspect the app configuration first: the configured workflow may perform irreversible external side effects.
Parámetros de entrada
userstringObligatorioStable end-user partition key for this run; reuse it for files and later calls tied to the same user.
filesobject[]Optional files accepted by the app. Each needs type and transfer_method, plus url for remote_url or upload_file_id for local_file.
inputsobjectObligatorioApp-specific workflow inputs keyed by variable name. Call DIFY_GET_WORKFLOW_APP_CONFIGURATION first and follow its user_input_form; values may be strings, numbers, booleans, objects, or file-object arrays.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not