Giter Site home page Giter Site logo

n8n-io / n8n-docs Goto Github PK

View Code? Open in Web Editor NEW
128.0 128.0 234.0 827.52 MB

Documentation for n8n, a fair-code licensed automation tool with a free community edition and powerful enterprise options. Build AI functionality into your workflows.

Home Page: https://docs.n8n.io

License: Other

HTML 100.00%

n8n-docs's People

Contributors

alishaz-polymath avatar ayatnkw avatar bartv42 avatar chrischinchilla avatar dependabot[bot] avatar erin2722 avatar freakwriter avatar gandreini avatar gpene avatar harshil1712 avatar ivov avatar janober avatar jcn8n avatar joffcom avatar krynble avatar lorenanda avatar mariaremote avatar maspio avatar mutdmour avatar netroy avatar olegivaniv avatar rosano avatar rupenieks avatar shraddha2104 avatar smamudhan avatar starfallprojects avatar tanay1337 avatar tephlondude avatar that-one-tom avatar tiseysoft avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

n8n-docs's Issues

Missing description for new setting

The workflow settings Save Execution Progress was added in 0.108.0 according to the changelog, but it's missing its documentation on the docs page n8n-docs/docs/reference/workflow.md.

Section about state in containers

I assumed that n8n was stateless (except for the database) and could therefore be run on Google Cloud Run. However, I just had the case that I was testing a webhook, and while the container was in the "waiting to receive request" mode, all requests were suddenly routed to another container. This is not a deal breaker, but now I'm wondering what other functionality is not stateless and could cause problems in the future?

Cannot use email alias for user management

Found the problem

In docs/hosting/authentication/user-management-self-hosted.md

Change:
| N8N_SMTP_SENDER | string | You can select the sender name from the sender addresses. Example: "N8N [email protected]"| Required |

To:
| N8N_SMTP_SENDER | string | You can select the sender name from the sender addresses. Example: "N8N <[email protected]>"| Required |

And

In docs/hosting/environment-variables/environment-variables.md

Change:
| N8N_SMTP_SENDER | String | - |You can select the sender name from the sender addresses. Example: N8N [email protected]_|

To:
| N8N_SMTP_SENDER | String | - | You can select the sender name from the sender addresses. Example: N8N <[email protected]>|

Change license name in README.md (this repo)

License section in README.md (https://github.com/n8n-io/n8n-docs#license)
n8n-docs is fair-code licensed under Apache 2.0 with Commons Clause should pobably read
n8n-docs is fair-code licensed under Sustainable Use License.

BTW and FWIW, I think your decision to move away from the Commons Clause was wise. I believe that the wording of the Common Clause makes it a time-bomb, and not "Fair-code" at all.

Add this workflow to FAQ/ reference for function node

A user asked me how they might get the execution time of a portion of a workflow (they are testing API latency, and need to record the ms it took for API to reply). I created this workflow to be generic enough to answer the general question "how do I measure how long a workflow/ portion of workflow took to execute?"

Workflow on n8n.io: https://n8n.io/workflows/717

Not sure exactly where, but I recommend this is linked in the docs. Maybe in the function node, or perhaps in Javascript Snippets cheatsheet. Not too precious where!

The "longer introduction" quickstart guide is out of date

This is my first time using n8n. Working through the "slightly longer introduction" I observed the following inconsistencies:

Step four

Instructions 4 and 5 now occur in the opposite order.

Instead of Select the Credential for NASA API dropdown., this appears:

image

Only after selecting the resource does the credential UI appear:

image

Step five

Instruction 5. b) does not match the UI:

Select Current Node > Input Data > JSON > classType. n8n adds the expression to the Expression editor

image

To get the variable reference in the field, I dragged classType from the left side of the UI.

Close the expressions editor to return to the node

By default the expressions editor is not opened; the variable is edited inline.

Conclusion

There are additional inconsistencies, but you get the idea.

Is this something the community is aware of, and if so is an update to the Quickstart prioritized? If not I am willing to take this on.

`getBinaryDataBuffer()` for the Code node is undocumented

The Get the binary data buffer cookbook says that the getBinaryDataBuffer() should be used to access binary data from the Code node, but this method is completely undocumented other than in this cookbook, making it very confusing to use.

I think this method needs to be added to the documentation for Built-in methods and variables. There should be clarification on the type and purpose of the two parameters (itemIndex and binaryPropertyName) as well as the method's return value.

Why does n8n requires docker.sock access in docker-compose example ?

Hello ! πŸ‘‹

In the documentation Server Setup, there is the volume configuration /var/run/docker.sock:/var/run/docker.sock in the n8n service declaration; implying that n8n requires an access to the Docker socket to work.

https://docs.n8n.io/reference/server-setup.html#_5-create-docker-compose-file
image

However, I looked through the documentation to check any reason to do so, but I unfortunately found none.

Does n8n really uses the docker.sock for anything ?
If so, documentation should be clearer about the usage for security and transparency purposes
If not, I guess this is just a typo that should be removed maybe ?

Regards,

Misleading statement that /root/.n8n is necessary

At https://docs.n8n.io/getting-started/installation/docker-quickstart.html#using-alternate-databases it says that the /root/.n8n directory needs to be persisted since it contains the encryption key for credentials. However, the encryption key can also be provided via the N8N_ENCRYPTION_KEY environment variable.

So as far as I can tell /root/.n8n does not need to be persisted, right?
That's very important information if you want to run n8n on an ephemeral hosting service like Google Cloud Run.

Changes for 'Creating your first workflow' - Option B

@harshil1712 Proposed additions to the 'Automate Product Feedback with Typeform, Airtable, and Trello πŸ“ˆ' pathway:

  • I think it would be helpful to add exactly what the datatype of the different fields in Typeform should be so that the reader can recreate it with the same fields. This will also help them use the example workflow that you provided out of the box. See example here: https://medium.com/n8n-io/automating-conference-organization-processes-with-n8n-ab8f64a7a520
  • Same as above with Airtable. Screenshots of your Airtable would be helpful too. Would recommend setting instructions where they can copy your base (like in your n8n + Bravo Studio tutorial).

n8n-nodes-base.debughelper.md broken links

2 links follows to 404:

Twilio Node should be using API keys instead of Account SID and password

Hi there, the plugin currently uses the Twilio primary account sid and password. This is pretty risky for production systems, and a pain to manage if they need to be revoked without breaking other systems.

Twilio provides "standard" apikeys and passwords with limited permissions that should be used instead.

https://docs.n8n.io/credentials/twilio/

https://www.twilio.com/docs/iam/keys/api-key

Thank you for your consideration

Trello API Authentication

Hello n8n team,

I'm reaching out to bring to your attention an issue I've encountered with the Trello integration in n8n. It appears that Trello has recently updated how they manage API keys and authentication.

  1. Documentation Link Issue: The current n8n documentation for Trello integration directs users to https://trello.com/app-key for obtaining API keys. However, this link now redirects users to a new page (https://trello.com/power-ups/admin/) with a notice about changes in managing API keys.

  2. Change in Authentication Method: On the new Trello page, it is mentioned that "Each Power-Up can now have a unique API key and be managed by any collaborators," and there's an emphasis on managing these keys from the "Power-Up Admin Portal." Most notably, what was previously referred to as an 'API Token' is now termed as an 'API Secret.'

  3. Integration Issue: In the n8n Trello node configuration, it still asks for an 'API Key' and 'API Token.' When I try to use the new 'API Key' and 'API Secret' from Trello in these fields, I encounter a 401 authentication error.

I seems the n8n Trello node needs an update to align with these new changes from Trello. It would be greatly appreciated if you could look into this issue and update the integration process accordingly. This change is crucial for ensuring smooth and continued integration between n8n and Trello. I tried this from both my local and your cloud. I added my localhost, my IP address and the cloud address of the workspace to the Trello allowed origins.

Thank you for your attention to this matter.

Best regards,

Luke

Broken redirects in "Daily Weather Notifications ..." and "Automate Product Feedback ..." example workflows

The node "Edit Field" is not configured in "very-quick-quickstart-workflow"

Hi devs,

I'm new to n8n, and I am trying very-quick-quickstart-workflow. The node "Edit Field" seems not configured when I use the template, as the following screenshots:

Screen Shot 2024-03-05 at 23 23 12
Screen Shot 2024-03-05 at 23 19 01

Since the final outputs from messenger are pretty weird, I assume that I should map some original fields in {{$json.customer_name}} and {{$json.customer_description}} in the node "Edit Field" first? Yet the tutorial didn't tell me to do that.

Step three: Run the workflow#
Select Test Workflow. This runs the workflow, loading the data from the Customer Datastore node, then transforming it with Edit Fields. You need this data available in the workflow so that you can work with it in the next step.

Please kindly tell me if I get something wrong, thanks!

Best,
Andrew

Missing option in interface

From the Merge docs:

If there are more items in one input than the other, the default behavior is to leave out the items without a match. Choose Add Option > Include Any Unpaired Items to keep the unmatched items.

It seems the 'Include Any Unpaired Items' option referenced is not in the interface; there is only 'Clash Handling', 'Multiple Matches', and 'Disable Dot Notation'.

Slack node 2nd example (DM user)

Was having trouble on how to DM a user directly (instead of posting a message to a chat). Slack is an accessible/ broadly used node (and also will be used heavily in cloud onboarding), so I think it's justifiable to give it a second example like this (i.e. is one of our "top nodes")

Add valid Cron expression generator to Cron node

Had to make a custom Cron expression (Mon-Thursday at 9 am). Immediately I googled "Cron expression generator" as I reach for a visual tool for things like this and regex. Was having errors on first two generator tools I found because they were conformed to the popular Quartz spec (which we don't support). I recommend we find a free tool that supports the spec we conform to and link to it in Cron node docs.

Salesforce docs inaccurate for n8n.cloud

On our docs for Salesforce credentials ( ) we state that for n8n.cloud users "You'll only need to enter the Credentials Name and click on the circle button in the OAuth section to connect your Salesforce account to n8n."

This confusing because Add Credentials modal for Salesforce (on n8n.cloud) has an additional "Access Token URL:" field. If the user reads "⛅️ Note for n8n.cloud users", they could understand it to mean "don't touch Access Token URL", even though they would need to.

Binary Data Walthrough Request

Walkthrough request: anything related to working with binary data, uploading it via http request (multipart form etc).

Remove outdated note

From here:

If using npm version 7+, you must enable legacy peer dependencies by setting: npm config set legacy-peer-deps true.

No longer necessary since this.

code examples returns wrong

Get a [slice](https://jmespath.org/tutorial.html#list-and-slice-projections) of the first names:
```js
$jmespath($json.body.people, "[:2].first")
/* Returns:
[
{
"firstNames": [
"James",
"Jacob",
"Jayden"
]
}
]
*/
```
Get a list of the dogs' ages using [object projections](https://jmespath.org/tutorial.html#object-projections):
```js
$jmespath($json.body.dogs, "*.age")
/* Returns:
[
{
"firstNames": [
"James",
"Jacob",
"Jayden"
]
}
]
*/
```

The Send email credentials docs is ... not really usefull

The documentation si really underwhelming. If n8n should be a no-code platform, there should be at least some instruction how to get the credential, at least from the most used platforms.

I was quite happy to see the progress on the n8n project and thought, hey, let's switch to an open-source project from Make.com - but what is actually great on Make is that you often don't need to enter any credentials, you just log into your google account or similar. If there's a need for api keys e.t.c. then there are super detailed instructions.

I'd love to switch all automations our company does, which is quite a lot of workflows already, about 30 working workflows.

Add code snippet for count items

Needed to count number of items returned by node (in this case, Airtable rows). Found this in the community forums from Ricardo. It did the trick nicely and seems like a generally useful snippet.

{
  "nodes": [
    {
      "parameters": {
        "functionCode": "if (Object.keys(items[0].json).length === 0) {\n  return [\n     {\n       json: {\n         results: 0,\n       }\n      }\n  ]\n}\n\nreturn [\n  {\n    json: {\n      results: items.length,\n    }\n  }\n];"
      },
      "name": "Count # of items",
      "type": "n8n-nodes-base.function",
      "typeVersion": 1,
      "position": [
        820,
        300
      ]
    }
  ],
  "connections": {}
}

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    πŸ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. πŸ“ŠπŸ“ˆπŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❀️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.