DocsAutomator icon

DocsAutomator

Create and manage documents with DocsAutomator

Actions9

Placeholder → List

AI-generated

Overview

This node operation lists all placeholders for a specified automation in DocsAutomator. It is useful when you want to retrieve the available placeholders that can be used in document templates associated with an automation. For example, you might use this to dynamically fetch placeholders before generating documents to ensure you map the correct data fields.

Use Case Examples

  1. List placeholders for a given automation to see which fields can be used in document templates.
  2. Fetch placeholders to dynamically build a form or UI for user input based on the automation's placeholders.

Properties

Name Meaning
Automation Name or ID Select the automation to list placeholders for. You can choose from the list of automations or specify an ID using an expression.

Output

JSON

  • placeholders - The list of placeholders available for the specified automation, typically returned as an object or array of placeholder names and details.

Dependencies

  • Requires an API key credential for DocsAutomator API authentication.

Troubleshooting

  • If no automation is selected, the node throws an error prompting to select an automation.
  • If the API request fails, the node may throw an error indicating failure to fetch placeholders; check API credentials and network connectivity.
  • If no placeholders are found, the output will indicate an empty list, which might mean the automation has no placeholders defined.

Links

Discussion