n8n Workflows Automation

A step-by-step guide to installing the LayerProof node in n8n, configuring credentials, and testing a workflow in your local or self-hosted instance.

n8n Workflows

This guide is for testing the LayerProof n8n node locally using Layerproof public api

LayerProof can run inside a local or self-hosted n8n instance through the published community node package n8n-nodes-layerproof, so you do not need to call the API manually.

Before You Start

Make sure you have:

  • npm
  • python

Important:

  • this guide is for local or self-hosted n8n
  • use the API origin only for Base URL
  • do not append /api or /api/v2

Examples:

  • correct: https://api.prod.layerproof.app
  • incorrect: https://api.prod.layerproof.app/api/v2

Local Setup

1. Install n8n global

npm install -g n8n

2. Start n8n

n8n

3. Open n8n

http://localhost:5678

4. Install layerproof

  1. Open community nodes in setting
  2. Install Layerproof package Copy thís package and install
n8n-nodes-layerproof

After that stop and restart n8n again

Add the Node in n8n

Use this flow:

  1. Create a new workflow
  2. Add Manual Trigger
  3. Click the + button after the trigger
  4. Search for LayerProof
Choice layerproof
Important:
  • LayerProof is not a trigger node
  • do not search for it from the first trigger picker screen

Create LayerProof Credentials

  1. Add the LayerProof node

  2. Create a new credential for LayerProof API

  3. Enter:

    • API Key: your LayerProof API key
    • Base URL: your LayerProof API origin
  4. Save the credential

Expected values:

  • API Key: sk_live_...
  • Base URL: https://api.prod.layerproof.app

First Test

Start with a simple read-only call:

  1. Add Manual Trigger
  2. Add LayerProof
  3. Select your credential
  4. Set:
    • Resource: Project
    • Operation: List
  5. Optionally set Limit to 1
  6. Execute the node

If setup is correct, the response should contain:

  • data
  • next_cursor
  • has_more

Common Mistakes

  • using the wrong Base URL
  • adding /api or /api/v2 into Base URL
  • pointing to the web app instead of the API origin
  • installing the package in the wrong directory
  • forgetting to restart n8n after install
  • searching for LayerProof in the trigger picker

Troubleshooting

The node does not appear

Check that:

  • the package installation finished successfully
  • community nodes are allowed in your local n8n instance
  • you reloaded the editor or restarted n8n

Credential test fails

Check that:

  • the API key is valid
  • the Base URL is correct
  • the Base URL does not include /api or /api/v2

The API returns 403

This usually means the API key is valid, but the account does not have the required LayerProof public API access.

More example about layerproof n8n

  1. Slide presentation agent example
  2. Social campaign agent example