{
  "schema_version": "1.0.0",
  "id": "testimonial-to-quote-bank",
  "title": "Turn a glowing testimonial into a quote card line",
  "category": "social",
  "difficulty": "intermediate",
  "featured": false,
  "description": "Typeform testimonials rated 4 or 5 with permission to publish are shortened to a one-line quote and filed in an Airtable quote bank.",
  "tags": [
    "social",
    "typeform",
    "testimonials",
    "airtable",
    "ai-writing"
  ],
  "apps": [
    "Typeform",
    "Filter by Zapier",
    "AI by Zapier",
    "Airtable",
    "Slack"
  ],
  "plan": {
    "minimum": "Professional",
    "reasons": [
      "multi-step Zap: 4 steps after the trigger",
      "Filter by Zapier",
      "AI by Zapier"
    ]
  },
  "tasks": {
    "typical": 3,
    "max": 3
  },
  "trigger": {
    "app": "Typeform",
    "event": "New Entry",
    "kind": "instant",
    "title": "New feedback response",
    "why": "Fires for each feedback form response.",
    "config": {
      "Form": "Client feedback"
    },
    "outputs": [
      "response_id",
      "submitted_at",
      "name",
      "company",
      "email",
      "rating",
      "testimonial",
      "permission"
    ],
    "sample": "sample-trigger.json"
  },
  "steps": [
    {
      "key": "usable",
      "kind": "filter",
      "app": "Filter by Zapier",
      "event": "Only continue if...",
      "title": "Only rated 4+ with permission",
      "why": "Unhappy feedback and anything without explicit permission stop here.",
      "conditions": [
        [
          {
            "field": "{{trigger.permission}}",
            "operator": "(Text) Exactly matches",
            "value": "Yes"
          },
          {
            "field": "{{trigger.rating}}",
            "operator": "(Number) Greater than",
            "value": "3"
          }
        ]
      ],
      "usually": true
    },
    {
      "key": "quote",
      "kind": "ai",
      "app": "AI by Zapier",
      "event": "Analyze and Return Data",
      "title": "Shorten to a quote",
      "why": "Picks the strongest sentence instead of rewriting the customer's words, so the quote stays genuine.",
      "fields": {
        "Model": "Default (fast)",
        "Instructions": "From this testimonial, return quote: the single most specific sentence, quoted exactly as written (you may cut a clause, marking the cut with ...). Do not add words the customer did not write. Also return theme: one of speed, results, service, value, ease.",
        "Input data": "{{trigger.testimonial}}",
        "Output fields": "quote, theme"
      },
      "outputs": [
        "quote",
        "theme"
      ]
    },
    {
      "key": "bank",
      "kind": "action",
      "app": "Airtable",
      "event": "Create Record",
      "title": "File it in the quote bank",
      "why": "One record per approved quote, with the full text and the permission kept for reference.",
      "fields": {
        "Base": "Marketing",
        "Table": "Quote bank",
        "Quote": "{{quote.quote}}",
        "Theme": "{{quote.theme}}",
        "Full testimonial": "{{trigger.testimonial}}",
        "Name": "{{trigger.name}}",
        "Company": "{{trigger.company}}",
        "Rating": "{{trigger.rating}}",
        "Permission given": "{{trigger.submitted_at}}"
      },
      "outputs": [
        "id"
      ]
    },
    {
      "key": "share",
      "kind": "action",
      "app": "Slack",
      "event": "Send Channel Message",
      "title": "Share it with marketing",
      "why": "A good quote is worth seeing the day it arrives.",
      "fields": {
        "Channel": "#marketing",
        "Message Text": ":star: New quote ({{quote.theme}}): \"{{quote.quote}}\" - {{trigger.name}}, {{trigger.company}}",
        "Send as a bot?": "Yes",
        "Bot Name": "Zap alerts",
        "Include a link to this Zap?": "No"
      },
      "outputs": [
        "ts",
        "permalink"
      ]
    }
  ]
}
