craft

Unofficial n8n node for the Craft API (currently still in closed beta)

Package Information

Downloads: 62 weekly / 96 monthly
Latest Version: 0.1.8
Author: Aaron Richter

Documentation

n8n-nodes-craft

Project Banner

The Bridge you where looking for between two awesome tools
Want to contribute? »

Report Bug · Request Feature

Table of Contents
  1. About The Project
  2. Installation
  3. Operations
  4. Credentials
  5. Compatibility
  6. Resources
  7. Version history

About The Project

This is an n8n community node. It lets you use Craft Docs in your n8n workflows.

Craft is an app that helps you craft the best Docs in the world (that's their claim, and it is absolutely true!).

n8n is a fair-code licensed workflow automation platform.

Installation

Community Node (soon to be released)

Follow the installation guide in the n8n community nodes documentation.

This node is not published as a community node yet, currently only the self-installation is available

Private Node

To run this node as a private node, follow this guide by n8n. I also have a prepared Dockerfile with a blank n8n installation + this craft node.

Either run my custom image or build your own if you want to install additional private node.

Operations

The node now supports multiple Craft resources and their specific operations.

Blocks

  • Fetch blocks to retrieve content and attachments
  • Insert blocks to add new content to a document
  • Upload files as binary content inside a block
  • Delete blocks from a document
  • Update blocks to change existing content
  • Move blocks to reorder content
  • Search blocks in a document
  • Construct blocks with validation before sending them to Craft

Collections

  • List items with optional depth and format controls
  • Create items (including introducing new select options)
  • Update items while reusing or adding select options
  • Delete items in bulk

Tasks

  • List tasks across inbox, upcoming, active, or logbook views
  • Create tasks in the inbox or a chosen daily note
  • Update tasks, including markdown, state, schedule, and deadline
  • Delete tasks by providing one or more IDs

Documents

  • List available documents
  • Search across documents

Daily Notes

  • Search daily notes with keyword and date filters
  • Search a single daily note

Credentials

If you want to interact with protected Documents, you will need to create a BearerAuth Credential for your respective Document with API Keys and document ids.

Compatibility

1.0 (Node.js 18)

Resources

Version history

N/A

Discussion