# YouTube Transcript -> Newsletter Draft (Gmail)

> Fetch a YouTube transcript, extract the best insights/quotes, and create a polished newsletter draft in Gmail.

Content type: workflow
Source URL: https://www.agentpmt.com/agent-workflow-skills/youtube-transcript-newsletter-draft-gmail
Markdown URL: https://www.agentpmt.com/api/agent/workflows/youtube-transcript-newsletter-draft-gmail?format=agent-md
Updated: 2026-02-19T20:11:50.002Z
Author: firef1ie

---

Estimated time saved: 50 minutes.

## Tools

- Youtube Transcript Fetcher
- Gmail - All Email Actions

## Workflow Outline

1. Collect Video + Newsletter Brief: Collect: video_url or video_id, target audience, desired length (short/medium/long), tone, and whether to include quotes w/ timestamps. Collect draft recipients (or leave blank if user just wants the draft content).
2. Youtube Transcript Fetcher: Fetch the transcript. Prefer include_timestamps=true for quotable snippets.
3. Write Newsletter Draft: Write: (1) subject line, (2) preview text, (3) 3-5 sections with headers, (4) 3 key takeaways, (5) 2-4 quotes with timestamps, (6) CTA with video link. Keep formatting email-friendly (simple HTML or plaintext).
4. Gmail - All Email Actions: Create a Gmail draft using the generated subject/body. If recipients provided, set to=[...]. Use body_html when possible.

## Frequently Asked Questions

### How do I connect this workflow to my local agent like OpenClaw or Claude Code?

You can install the local MCP server by opening a terminal and running:

```
npm install -g @agentpmt/mcp-router
agentpmt-setup
```

This will connect you to local agents like Claude Code, Windsurf, Grok Build, Cursor, etc.

Alternatively you can connect to the hosted version with this config block, no installation required:

```
{
  "mcpServers": {
    "agentpmt": {
      "type": "streamable-http",
      "url": "https://api.agentpmt.com/mcp",
      "headers": {
        "Authorization": "Bearer <AGENTPMT_BEARER_TOKEN>",
        "x-instance-metadata": "{\"client\":\"generic-mcp\",\"platform\":\"remote\"}"
      }
    }
  }
}
```

[View MCP Connection Instructions](/docs/mcp-reference/connection) for more details.

### How do I trigger this workflow?

You can use it here in the browser by clicking the 'Try It' button.

If you 'star' the workflow it will save to your dashboard for quick access.

To use the workflow in an external agent, make sure you have followed the steps to connect it to the MCP server and then copy / paste this prompt, or just tell it to use the AgentPMT MCP server and use this workflow.

> Call the AgentPMT-Workflow-Skills tool with action 'get\_workflow\_skill' and skill\_id 6986c378e5ef844627d49d73 ("YouTube Transcript -> Newsletter Draft (Gmail)").