Fetch Workflow Documents
Perform Fetch Workflow Documents through MyForms.
myforms_fetch_workflow_documentsUse in a workflow
Copy the discovered node config and fill its params from the input contract. Validate the complete graph before publishing. Integration results use {{node_id.default.field}}. Check business success before dependent writes; completion alone does not prove success.
{
"_group": "MyForms",
"params": {
"account_profile": "secondary",
"timeout_seconds": 180,
"include_completed": false,
"include_document_status": false
},
"handler": "myforms_fetch_workflow_documents"
}Inputs
- Workflow Id
workflow_idtextrequiredRequired text value.
- Client Id
client_idtextrequiredRequired text value.
- Document Titles
document_titlesjsonrequiredRequired JSON value.
- Account Profile
account_profileselectOptional selected identifier or value.
Default:
"secondary"Options: Secondary ("secondary")
- Additional Document Titles
additional_document_titlesjsonOptional JSON value.
- Document Title Alternatives
document_title_alternativesjsonOptional JSON value.
- Include Document Status
include_document_statusbooleanOptional true-or-false value.
Default:
false - Include Completed
include_completedbooleanOptional true-or-false value.
Default:
false - Timeout Seconds
timeout_secondsnumberOptional numeric value.
Default:
180
Outputs
successSuccesscompleteCompletedocument_idsDocument IdsdocumentsDocumentsplaceholder_documentsPlaceholder Documentsretrieval_failuresRetrieval Failuresmissing_titlesMissing Titlesunavailable_titlesUnavailable TitlesmanifestManifesterrorErrorerror_messageError Message
Output schema completeness: best_effort_declared
Safety
- External effect
- write
- Confirmation recommended
- No
- Retry safe
- No
- Dry run supported
- No
Schemas
These schemas are first-pass authoring guidance. Runtime validation remains authoritative.
Input schema
{
"type": "object",
"required": [
"workflow_id",
"client_id",
"document_titles"
],
"properties": {
"client_id": {
"type": "string",
"description": "Required text value.",
"x-workflow-field-type": "text"
},
"workflow_id": {
"type": "string",
"description": "Required text value.",
"x-workflow-field-type": "text"
},
"account_profile": {
"enum": [
"secondary"
],
"type": "string",
"default": "secondary",
"description": "Optional selected identifier or value.",
"x-workflow-field-type": "select"
},
"document_titles": {
"description": "Required JSON value.",
"x-workflow-field-type": "json"
},
"timeout_seconds": {
"type": "number",
"default": 180,
"description": "Optional numeric value.",
"x-workflow-field-type": "number"
},
"include_completed": {
"type": "boolean",
"default": false,
"description": "Optional true-or-false value.",
"x-workflow-field-type": "boolean"
},
"include_document_status": {
"type": "boolean",
"default": false,
"description": "Optional true-or-false value.",
"x-workflow-field-type": "boolean"
},
"additional_document_titles": {
"description": "Optional JSON value.",
"x-workflow-field-type": "json"
},
"document_title_alternatives": {
"description": "Optional JSON value.",
"x-workflow-field-type": "json"
}
},
"additionalProperties": false
}Output schema
{
"type": "object",
"properties": {
"error": {},
"success": {},
"complete": {},
"manifest": {},
"documents": {},
"document_ids": {},
"error_message": {},
"missing_titles": {},
"retrieval_failures": {},
"unavailable_titles": {},
"placeholder_documents": {}
},
"additionalProperties": true
}