### Create and Initialize n8n Custom Directory Source: https://github.com/craftmypdf/n8n-nodes-craftmypdf/blob/master/CONTRIBUTING.md These commands create a `custom` directory within the `~/.n8n` local installation path and initialize it as a pnpm project. This directory is essential for n8n to discover and load custom nodes during local development. ```Shell mkdir custom cd custom pnpm init ``` -------------------------------- ### Start n8n Local Instance Source: https://github.com/craftmypdf/n8n-nodes-craftmypdf/blob/master/CONTRIBUTING.md This command initiates the n8n application locally, making it accessible via a web browser, typically at `http://localhost:5678/`. It loads all configured nodes, including any custom ones linked previously, allowing for local testing and development. ```Shell n8n start ``` -------------------------------- ### Build n8n-nodes-craftmypdf Node Source: https://github.com/craftmypdf/n8n-nodes-craftmypdf/blob/master/CONTRIBUTING.md This command builds the `n8n-nodes-craftmypdf` project, compiling its source code into a distributable format. After execution, a `dist` folder should be created containing the built files, ready for deployment or linking. ```Shell pnpm run build ``` -------------------------------- ### Link n8n-nodes-craftmypdf to n8n's Custom Directory Source: https://github.com/craftmypdf/n8n-nodes-craftmypdf/blob/master/CONTRIBUTING.md This command creates a symbolic link from the local `n8n-nodes-craftmypdf` project directory to the `~/.n8n/custom` directory. This allows the local n8n instance to discover and load the custom node for testing and development purposes. ```Shell pnpm link /home/tux/Desktop/github/n8n-nodes-craftmypdf ``` -------------------------------- ### CraftMyPdf API Operations for n8n Source: https://github.com/craftmypdf/n8n-nodes-craftmypdf/blob/master/README.md This section outlines the core API operations available through the CraftMyPdf n8n node, including PDF creation, asynchronous PDF creation, PDF merging, and adding watermarks. Each operation is linked to its respective documentation for detailed usage. ```APIDOC CraftMyPdf API Operations: - Create: Operation: `create` Description: Creates a PDF file with JSON data and your template. Action: Create a PDF Documentation: https://craftmypdf.com/docs/index.html#tag/PDF-Generation-API/operation/create - Create Async: Operation: `createAsync` Description: Creates a PDF file asynchronously with JSON data and your template. The API returns immediately, and will retry for 3 times. Action: Create a PDF asynchronously Documentation: https://craftmypdf.com/docs/index.html#tag/PDF-Generation-API/operation/create-async - Merge: Operation: `merge` Description: Merges multiple PDF URLs. Action: Merge multiple PDF files Documentation: https://craftmypdf.com/docs/index.html#tag/PDF-Manipulation-API/operation/merge-pdfs - Add Watermark: Operation: `addWatermark` Description: Adds a watermark to a PDF. Action: Add watermark Documentation: https://craftmypdf.com/docs/index.html#tag/PDF-Manipulation-API/operation/add-watermark ``` === COMPLETE CONTENT === This response contains all available snippets from this library. No additional content exists. Do not make further requests.