---
title: 11.41 YouTube Triggers and Activities
description: Workflows can react to comments on your YouTube videos. A YouTube channel must be connected (15d).
url: "https://peikly.com/docs/youtube-triggers-and-activities/"
updated: "2026-11-17"
category: Automation Workflows
tags:
  - Manual sync
---

# 11.41 YouTube Triggers and Activities

Workflows can react to comments on your YouTube videos. A YouTube channel must be connected ([15d](/docs/youtube/)).

## Trigger

| Trigger | Starts when |
| --- | --- |
| **Comment Received on YouTube** | Someone writes a new comment on one of your channel's videos |

- **Channel:** under the trigger, choose one connected channel, or leave it on **Any connected YouTube channel**.
- **Within the hour, not at once.** YouTube sends no instant notice of comments, so Peikly checks each channel about once an hour. A workflow therefore starts up to about an hour after the comment.
- **New comments only.** Replies to existing comments do not start it, and your channel's own comments never do, so a workflow that replies cannot trigger itself.
- All your videos count, including ones uploaded outside Peikly. Each comment starts one run, and the rate limits in [11.40](/docs/rate-limits-for-incoming-messages-and-comments/) apply.
- A comment does not create a contact. **Add/Upsert Contact** creates one from the commenter's YouTube name and links them for next time.

## Activities

| Activity | What it does |
| --- | --- |
| **Reply to Comment** | Posts a public reply under the comment, as your channel |
| **Delete Comment** (shown as **Remove Comment** for YouTube) | Removes the comment from public view. YouTube does not let a channel delete other people's comments; the author is not banned |
| **Moderate Comment** | **Hold for review** (hidden until you publish it), **Remove it**, or **Remove it and ban the author** from commenting on the channel |
| **Publish YouTube Video** | Uploads a chosen video from the Media Library as a video or a Short, with a title, description, visibility and the required **made for kids** answer. Works with any trigger, for example a schedule |

YouTube has no direct messages, and it does not let apps like comments, so **Send DM** and **Like Comment** are not available on a YouTube trigger. Texts can use `{sender.name}`, `{comment.text}` and `{video.url}` (the video's link).

When YouTube's daily request allowance is used up, a reply or moderation step waits and is retried automatically over the next hours; see the run's explanation in the failed runs window if it still fails.

## Example: thank every commenter

**Comment Received on YouTube** → **Reply to Comment** "Thanks {sender.name}, glad you watched!"

## Example: hold comments with links

**Comment Received on YouTube** → **Message Matches** (*Contains any of* `http, www., .com`) → TRUE: **Moderate Comment** (Hold for review).
