General
Get 2FA code
Generate a code from the 2FA vault and save it to a data column or a variable for the next block to type
Block type: get-2fa-code
Inputs
| Name | Type | Default | Description |
|---|---|---|---|
disableBlock | boolean | false | Disable this block |
description | string | — | Node description |
totpId | string | — | Which vault entry to read. The block stores only an id, never the seed, so sharing or selling the workflow leaks nothing. |
minSecondsRemaining | number | 2 | Wait for a fresh code when the current one is nearly over, so it does not expire between typing and submitting. |
saveData | boolean | true | Insert into the workflow table |
dataColumn | string | — | Table column name |
assignVariable | boolean | false | Assign to variable |
variableName | string | — | Variable name |
Outputs
datastringThe generated code