Skip to content

Conversation

chamboug
Copy link
Contributor

Pull Request: Update Custom Node Inputs/Outputs Syntax

This updates the n8n custom node documentation to replace the outdated inputs: ['main'] and outputs: ['main'] syntax with the correct usage of inputs: [NodeConnectionType.Main] and outputs: [NodeConnectionType.Main].

This change fixes TypeScript type errors and aligns the documentation with current n8n development practices, improving clarity and accuracy for developers building custom nodes.

Update custom node inputs/outputs syntax in docs to use NodeConnectionType.Main instead of string arrays. Fixes TypeScript errors with latest n8n versions and improves type safety.
@CLAassistant
Copy link

CLAassistant commented Sep 10, 2025

CLA assistant check
All committers have signed the CLA.

Copy link

netlify bot commented Sep 10, 2025

Deploy Preview for n8n-docs ready!

Name Link
🔨 Latest commit 5f9315a
🔍 Latest deploy log https://app.netlify.com/projects/n8n-docs/deploys/68d388d336686100080174f5
😎 Deploy Preview https://deploy-preview-3642--n8n-docs.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

@StarfallProjects StarfallProjects added the community-contribution Potential community contribution label Sep 11, 2025
@StarfallProjects StarfallProjects self-requested a review September 13, 2025 15:45
@StarfallProjects
Copy link
Contributor

@chamboug thanks for this 🎉 Please can you sign the CLA so we can merge it?

@chamboug
Copy link
Contributor Author

@chamboug thanks for this 🎉 Please can you sign the CLA so we can merge it?

Happy to contribute, I’ve signed the CLA 🙂

@StarfallProjects StarfallProjects merged commit 35867c1 into n8n-io:main Sep 24, 2025
5 of 6 checks passed
HumanistSerif pushed a commit that referenced this pull request Sep 24, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
community-contribution Potential community contribution
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants