These are a set of guidelines to contribute to this repository, helping ensure consistency and quality.
- Main: Create a directory with the name of the node at
docs/nodes/nodes-library/nodes/
containing:- A text file named
README.md
describing the functionality of the relevant node. - An image file named
workflow.png
showing a screenshot of the Start node connected to the relevant node.
- A text file named
- Credentials: Create a directory with the name of the node at
docs/nodes/credentials/
containing:- A text file called
README.md
describing how to obtain credentials for the relevant node.
- A text file called
- Follow the structure and writing conventions of the existing documentation. Consistency is the key.
- In the node documentation README.md
- Under "Basic Operations", enter the resources and operations exactly as they are named in the nodes.
- Under "Example Usage", ensure that the link of the relevant node remains empty.
- Exclude any optional steps from the example usage steps for the relevant node.
- Create a workflow at n8n.io and use the resulting link in "Example Usage".
- If there is a relevant n8n Medium article, include it under "Further Reading". The resulting list should be ordered alphabetically. See the Telegram node.
- In the credentials README.md
- If there is more than one authentication method, list OAuth first.
- If there are steps that are necessary but out of the scope of creating a node in n8n, move them to the FAQ section. See the Chargebee Trigger node.
- In the node documentation README.md
- Keep your writing as concise as possible.
- Make sure to include commit messages in this format.
Please make sure that the screenshots match the following criteria.
- Please ensure that only the Editor UI appears in the screenshot. Anything else like the browser frame, tabs, and so on should be omitted.
- After zooming in once, the Editor UI should be 23 boxes wide and 9 boxes tall.
- The nodes should have a distance of two boxes between them.
- The nodes should fit inside the boxes (as much as they can).
- Please make sure that the workflow is centered in the Editor canvas.
- If the workflow uses a Trigger node, please ensure that the Start node doesn't appear in the Editor canvas.
- When recording GIFs, please ensure that the cursor movements in the GIF are slow and easy to follow. A good rule of thumb is that the speed should be about 75% of your regular speed.
The following is a list of common errors that you can use to check your work locally before submitting a PR:
- Check spelling and grammar. Grammarly is a good tool to help.
- Check for any broken links.
- Ensure that branding is correct. For example, "GitHub", not "Github".
- Ensure that GIFs capture every step of the process at a uniform pace.
- Ensure all documentation files end with an empty newline.