How to Insert All Rows from Google Sheet to Postgres DB Using Pipedream?

In your first workflow, use a custom code step to loop over your Google Sheet rows and invoke the second workflow. Something like this:

for (const row of rows) {
  await $.flow.trigger("p_secondWorkflowID", { row })
}

(or use Promise.all to run all in parallel)