1. Output postgres
Postgres Output
Now we will replace the "print" output of the workflow with a Postgres-type output.
In the new Postgres output box, we need to configure the connection using the predefined environment variable.
We must ensure that in the box preceding the database output, we correctly specify the table name we want to save:
For example, cat_clientes_riesgo_[id_unico] and select the append mode before the first execution.
NOTE: If this is the first time executing and the table has not been created yet, we must check the "Check if empty dataframe before saving it" box. If we run the workflow multiple times and the table is already created, we should switch to "overwrite" mode to replace the records.