Triage Typeform product feedback into Postgres and Slack

By General Input

Every Typeform submission lands in your Postgres feedback table, gets tagged by sentiment, theme, and severity, and posts a clean summary to Slack.

Integrations

  • Typeform
  • PostgreSQL
  • Slack Bot

Type

Agentic Task

Categories

  • Product
  • Customer Support

Build me an agent workflow that triages incoming product feedback from a Typeform form.

Trigger: a Typeform webhook. The workflow fires whenever a new response is submitted to my product feedback form. The agent should be able to register the webhook on the form (Create or Update Webhook) if it isn't already configured, then receive submission payloads on every new response.

Step 1: Persist the raw submission to my PostgreSQL database using Insert Row on the feedback table. Capture form_id, response_id, submitted_at, respondent email (pulled from the hidden field or the matching email question on the form), and the full answer payload as a JSONB column. If the table or columns don't exist yet, propose the schema and confirm with me before inserting.

Step 2: Classify the submission. This is the part that needs judgment, which is why this is an agent and not a fixed pipeline. Output three tags:

- sentiment: one of positive, neutral, negative

- theme: one of bug, feature request, pricing, onboarding, other

- severity: one of low, medium, high. Treat blocker language like 'can't ship', 'broken in production', 'losing customers', 'urgent' as high. Treat polite suggestions and nice-to-haves as low. Default to medium when in doubt.

Step 3: Post a structured summary to Slack using the Slack Bot Send a Message operation. Pick the channel via a workflow input so I can change it without editing the prompt. The message should have:

- A header line with three badges: sentiment, theme, severity (use emoji prefixes for severity: 🔴 high, 🟡 medium, 🟢 low)

- A one-line distilled version of what the user said, in their voice as much as possible

- The respondent's email so the team can reach back out

- A link back to the full Typeform response

If the Postgres insert fails (duplicate response_id, column mismatch, connection error), log the error and still post to Slack with a warning so feedback isn't silently lost. If classification fails, fall back to neutral / other / medium and continue.

Use the Slack Bot integration (xoxb-style bot token), not the user-OAuth Slack integration, since these are automated notifications that should be attributed to the bot.

Related prompts

Explore more prompts
A brand asset library your marketing team actually searchesTurn Mailjet email clicks into ranked HubSpot follow-upsClean out the Looker dashboards and Looks nobody opensLiveKit live operations console for room moderationWake up dormant Keap leads with a researched reasonLiveChat coverage board for planning next week's shiftsPhone routing control panel for LiveKit voice agentsLinkedIn Ads budget pacing dashboard for every client accountGive your team Looker numbers without buying more seatsPause marketing emails to escalated customers, then restore them