Skip to content


The TOTP node provides a way to generate a TOTP (time-based one-time password).


Refer to TOTP credentials for guidance on setting up authentication.

Examples and templates

For usage examples and templates to help you get started, take a look at n8n's TOTP integrations list.


Generate Secret


Select Add Option to view and add node options.

You can choose:

  • Algorithm: the HMAC hashing algorithm. Default is SHA1.
  • Digits: number of digits in the generated code. Default is 6.
  • Period: how many seconds the TOTP is valid for. Default is 30 seconds.

View example workflows and related content on n8n's website.