Description
Insert a row into a table. Pass row data via config or pipe from previous step.
db_insert · action · Database · Available · v1.2.0
Insert a row into a table. Pass row data via config or pipe from previous step.
Fields shown in the editor when configuring the node. Generated directly from the NodeDefconfigFields.
| Field | Type | Required | Default | Description |
|---|---|---|---|---|
databaseIdDatabase | db-picker | yes | — | — |
tableTabella | db-table-picker | yes | — | — |
rowJsonDati riga | key-value | no | — | Coppie colonna=valore. Vuoto = usa l'input del nodo precedente come riga. Supporta {{espressioni}}. |
onConflictSe la riga esiste già | enumfailignore | no | fail | "fail" (raccomandato per dati di business): se la riga c'è già, segnala errore — così ti accorgi di duplicati indesiderati (es. ordine 12345 ricevuto due volte). "ignore" (raccomandato per marker idempotenti): se la riga c'è già, considera l'inserimento già fatto e continua senza errore — utile per tabelle "dedup" come processed_emails / processed_webhooks dove ri-eseguire lo stesso evento è normale e atteso. |
JSON snippet of the node as it appears in the workflow. Values are derived fromdefaultValue and from required parameters.
{
"id": "node-db_insert-1",
"defId": "db_insert",
"label": "DB: Insert",
"config": {
"databaseId": "<databaseId>",
"table": "<table>",
"onConflict": "fail"
}
}Available now on all FlowForge plans. Try it free without a credit card.
Start freeBrowse all nodes