1Password icon

1Password

Interact with 1Password API

Overview

This node integrates with the 1Password API to retrieve file content stored within a specified vault and item. Specifically, the "Get File Content" operation under the "File" resource fetches the actual data of a file identified by its unique UUIDs. This is useful when automating workflows that require accessing or processing files securely stored in 1Password, such as downloading attachments, syncing documents, or extracting file data for further use.

Practical examples include:

  • Automatically retrieving a confidential document from 1Password to attach it to an email.
  • Downloading configuration files stored in 1Password for deployment scripts.
  • Extracting file contents to analyze or transform them in subsequent workflow steps.

Properties

Name Meaning
Vault UUID The unique identifier of the vault where the file is stored.
Item UUID The unique identifier of the item within the vault that contains the file.
File UUID The unique identifier of the specific file to retrieve content from.
Inline Content Boolean flag indicating whether to return the file content inline (true) or as a reference (false).

Output

The node outputs JSON data containing the content of the requested file. When "Inline Content" is set to true, the file's data is included directly in the output, typically encoded (e.g., base64). If binary data is supported, the node may also provide the file content as binary data attached to the output, enabling seamless handling of files like images, PDFs, or other binary formats in downstream nodes.

Dependencies

  • Requires an API key credential for authenticating with the 1Password API.
  • The node uses the 1Password API base URL configured via credentials.
  • Network access to the 1Password service endpoint is necessary.

Troubleshooting

  • Invalid UUIDs: Errors may occur if the provided Vault UUID, Item UUID, or File UUID do not exist or are incorrect. Verify these identifiers in your 1Password account.
  • Authentication failures: Ensure the API key credential is valid and has sufficient permissions to access the vault and items.
  • Permission issues: The authenticated user must have access rights to the specified vault and item.
  • Network errors: Check internet connectivity and firewall settings that might block access to the 1Password API.
  • Large file sizes: Retrieving very large files inline might cause performance issues; consider using non-inline retrieval if supported.

Links and References

Discussion