Hello @Tracy_Samuel , Welcome to Retool Community.
Retool doesn’t directly provide an API for interacting with your database. However, you can set up a custom REST API or use Retool's internal queries and webhook triggers to achieve the goal.
Use Retool Workflows
If you’re using Retool Workflows:
- Create a Workflow:
- Go to the Retool Workflows section and create a new workflow.
- Add a trigger to receive webhook data.
- Add a PostgreSQL step to insert the data using an SQL query.
- Configure the Webhook URL:
- Use the Webhook trigger's URL in your external application.
- Map Data Dynamically:
- Parse the webhook JSON payload and map the fields to the database columns.