{
  "schema_version": "1.0.0",
  "id": "youtube-video-linkedin-post",
  "title": "Post a new YouTube video to the LinkedIn company page",
  "category": "social",
  "difficulty": "beginner",
  "featured": false,
  "description": "When the channel publishes a video, write a LinkedIn company update from the description, post it with the link, and tell the team.",
  "tags": [
    "social",
    "youtube",
    "linkedin",
    "video",
    "ai-writing"
  ],
  "apps": [
    "YouTube",
    "AI by Zapier",
    "LinkedIn",
    "Slack"
  ],
  "plan": {
    "minimum": "Professional",
    "reasons": [
      "multi-step Zap: 3 steps after the trigger",
      "AI by Zapier"
    ]
  },
  "tasks": {
    "typical": 3,
    "max": 3
  },
  "trigger": {
    "app": "YouTube",
    "event": "New Video in Channel",
    "kind": "polling",
    "title": "New video on the channel",
    "why": "Fires when a new public video appears on the channel.",
    "config": {
      "Channel": "YOUR_YOUTUBE_CHANNEL_ID"
    },
    "outputs": [
      "video_id",
      "title",
      "description",
      "url",
      "published_at",
      "thumbnail_url"
    ],
    "sample": "sample-trigger.json"
  },
  "steps": [
    {
      "key": "post",
      "kind": "ai",
      "app": "AI by Zapier",
      "event": "Analyze and Return Data",
      "title": "Write the LinkedIn post",
      "why": "Rewrites the description as a post: a hook, two takeaways, and a question to invite comments.",
      "fields": {
        "Model": "Default (fast)",
        "Instructions": "Write a LinkedIn company-page post (under 900 characters) announcing this video. Start with one line that states the problem the video solves. Then two short takeaways as separate lines starting with a dash. End with one question for the audience. No hashtags, no emoji, no \"excited to share\". Return it as post_text.",
        "Input data": "Video title: {{trigger.title}}\n\nDescription:\n{{trigger.description}}",
        "Output fields": "post_text"
      },
      "outputs": [
        "post_text"
      ]
    },
    {
      "key": "share",
      "kind": "action",
      "app": "LinkedIn",
      "event": "Create Company Update",
      "title": "Post to the company page",
      "why": "Posts with the video link so LinkedIn shows the thumbnail card.",
      "fields": {
        "Company": "YOUR_LINKEDIN_COMPANY",
        "Comment": "{{post.post_text}}",
        "Content - URL": "{{trigger.url}}",
        "Content - Title": "{{trigger.title}}",
        "Visibility": "Anyone"
      },
      "outputs": [
        "id",
        "url"
      ]
    },
    {
      "key": "tell",
      "kind": "action",
      "app": "Slack",
      "event": "Send Channel Message",
      "title": "Tell the team to engage",
      "why": "Early comments and reposts from the team help the post reach more people.",
      "fields": {
        "Channel": "#marketing",
        "Message Text": ":clapper: New video is live on LinkedIn: {{share.url}} ({{trigger.title}}). A comment or repost in the first hour helps.",
        "Send as a bot?": "Yes",
        "Bot Name": "Zap alerts",
        "Include a link to this Zap?": "No"
      },
      "outputs": [
        "ts",
        "permalink"
      ]
    }
  ]
}
