DB: Insert

db_insert · action · Database · Available · v1.2.0

Description

Insert a row into a table. Pass row data via config or pipe from previous step.

⚙️ Configuration parameters

Fields shown in the editor when configuring the node. Generated directly from the NodeDefconfigFields.

FieldTypeRequiredDefaultDescription
databaseId
Database
db-pickeryes
table
Tabella
db-table-pickeryes
rowJson
Dati riga
key-valuenoCoppie colonna=valore. Vuoto = usa l'input del nodo precedente come riga. Supporta {{espressioni}}.
onConflict
Se la riga esiste già
enum
failignore
nofail"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.

💡 Configuration example

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"
  }
}

🔗 Related nodes in the same category

Ready to use DB: Insert?

Available now on all FlowForge plans. Try it free without a credit card.

Start freeBrowse all nodes