Skip to documentation
MyForms integration

Fetch Workflow Documents

Perform Fetch Workflow Documents through MyForms.

View as Markdown
myforms_fetch_workflow_documents
write

Use 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"
}

Action contracts and connections · Run recovery

Inputs

  • workflow_id
    textrequired
    Workflow Id

    Required text value.

  • client_id
    textrequired
    Client Id

    Required text value.

  • document_titles
    jsonrequired
    Document Titles

    Required JSON value.

  • account_profile
    select
    Account Profile

    Optional selected identifier or value.

    Default: "secondary"

    Options: Secondary ("secondary")

  • additional_document_titles
    json
    Additional Document Titles

    Optional JSON value.

  • document_title_alternatives
    json
    Document Title Alternatives

    Optional JSON value.

  • include_document_status
    boolean
    Include Document Status

    Optional true-or-false value.

    Default: false

  • include_completed
    boolean
    Include Completed

    Optional true-or-false value.

    Default: false

  • timeout_seconds
    number
    Timeout Seconds

    Optional numeric value.

    Default: 180

Outputs

  • successSuccess
  • completeComplete
  • document_idsDocument Ids
  • documentsDocuments
  • placeholder_documentsPlaceholder Documents
  • retrieval_failuresRetrieval Failures
  • missing_titlesMissing Titles
  • unavailable_titlesUnavailable Titles
  • manifestManifest
  • errorError
  • error_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
}
View all MyForms actions