{
  "schema_version": "1.0.0",
  "id": "podcast-show-notes-doc",
  "title": "Draft podcast show notes in a Google Doc",
  "category": "social",
  "difficulty": "intermediate",
  "featured": false,
  "description": "When a new episode appears in the podcast feed, draft show notes with key points and chapter ideas into a Google Doc from your template.",
  "tags": [
    "social",
    "podcast",
    "rss",
    "google-docs",
    "ai-writing"
  ],
  "apps": [
    "RSS by Zapier",
    "AI by Zapier",
    "Google Docs",
    "Slack"
  ],
  "plan": {
    "minimum": "Professional",
    "reasons": [
      "multi-step Zap: 3 steps after the trigger",
      "AI by Zapier"
    ]
  },
  "tasks": {
    "typical": 3,
    "max": 3
  },
  "trigger": {
    "app": "RSS by Zapier",
    "event": "New Item in Feed",
    "kind": "polling",
    "title": "New episode in the feed",
    "why": "Fires when the hosting platform publishes a new episode to the feed.",
    "config": {
      "Feed URL": "https://feeds.example.com/northwind-studio-podcast"
    },
    "outputs": [
      "title",
      "link",
      "summary",
      "pub_date",
      "author",
      "categories"
    ],
    "sample": "sample-trigger.json"
  },
  "steps": [
    {
      "key": "notes",
      "kind": "ai",
      "app": "AI by Zapier",
      "event": "Analyze and Return Data",
      "title": "Draft the show notes",
      "why": "Works from the episode description the host already wrote, and marks anything it is unsure of for the editor.",
      "fields": {
        "Model": "Default (fast)",
        "Instructions": "Draft podcast show notes from this episode description. Return intro (two sentences on who the episode is for and what they will learn), key_points (four to six lines, each starting with a dash), and guest_line (one sentence on the guest, empty if there is no guest). Do not invent statistics, names, or links. If the description is thin, say [EDITOR: add detail] where needed.",
        "Input data": "Episode: {{trigger.title}}\nPublished: {{trigger.pub_date}}\n\n{{trigger.summary}}",
        "Output fields": "intro, key_points, guest_line"
      },
      "outputs": [
        "intro",
        "key_points",
        "guest_line"
      ]
    },
    {
      "key": "doc",
      "kind": "action",
      "app": "Google Docs",
      "event": "Create Document from Template",
      "title": "Create the show notes doc",
      "why": "Fills your template's {{placeholders}} so every episode's notes look the same.",
      "fields": {
        "Template Document": "Show notes template",
        "New Document Name": "Show notes - {{trigger.title}}",
        "Folder for new Document": "Podcast/Show notes",
        "Replace: title": "{{trigger.title}}",
        "Replace: intro": "{{notes.intro}}",
        "Replace: key_points": "{{notes.key_points}}",
        "Replace: guest": "{{notes.guest_line}}",
        "Replace: link": "{{trigger.link}}"
      },
      "outputs": [
        "id",
        "alternate_link"
      ]
    },
    {
      "key": "review",
      "kind": "action",
      "app": "Slack",
      "event": "Send Channel Message",
      "title": "Ask the editor to review",
      "why": "The doc is a draft. A person checks it before the notes go on the website.",
      "fields": {
        "Channel": "#podcast",
        "Message Text": ":studio_microphone: Show notes drafted for *{{trigger.title}}*: {{doc.alternate_link}}",
        "Send as a bot?": "Yes",
        "Bot Name": "Zap alerts",
        "Include a link to this Zap?": "No"
      },
      "outputs": [
        "ts",
        "permalink"
      ]
    }
  ]
}
