For the complete documentation index, see llms.txt. This page is also available as Markdown.

Anthropic

On n8n Cloud, you can use the Anthropic node with Gateway credits instead of your own Anthropic API key. Select Use Gateway credits in the node's credential field to run the node without an Anthropic account.

Use the Anthropic node to automate work in Anthropic and integrate Anthropic with other applications. n8n has built-in support for a wide range of Anthropic features, including analyzing, uploading, getting, and deleting documents, files, and images, and generating, improving, or templatizing prompts.

On this page, you'll find a list of operations the Anthropic node supports, and links to more resources.

Credentials

Refer to the Anthropic credentials documentation for authentication information for this node.

Operations

  • Document:

    • Analyze Document: Take in documents and answer questions about them.

  • File:

    • Upload File: Upload a file to the Anthropic API for later user.

    • Get File Metadata: Get metadata for a file from the Anthropic API.

    • List Files: List files from the Anthropic API.

    • Delete File: Delete a file from the Anthropic API.

  • Image:

    • Analyze Image: Take in images and answer questions about them.

  • Prompt:

    • Generate Prompt: Generate a prompt for a model.

    • Improve Prompt: Improve a prompt for a model.

    • Templatize Prompt: Templatize a prompt for a model.

  • Text:

    • Message a Model: Create a completion with an Anthropic model.

Templates and examples

Browse Anthropic node documentation integration templates or search all templates

Refer to Anthropic's documentation for more information about the service.

What to do if your operation isn't supported

If this node doesn't support the operation you want to do, you can use the HTTP Request node to call the service's API.

You can use the credential you created for this service in the HTTP Request node:

  1. In the HTTP Request node, select Authentication > Predefined Credential Type.

  2. Select the service you want to connect to.

  3. Select your credential.

Refer to Custom API operations for more information.

Last updated

Was this helpful?