К основному содержанию
скилл CX Codex

pipefy-members-email-webhooks — скилл для Claude Code: участники

Скилл для работы с Pipefy через агента: приглашает участников в пайп, отправляет письма из инбокса карточки и управляет вебхуками.

Установить в Claude Code · Через Skills CLI (Vercel) Все способы и платформы ↓
npx skills add pipefy/ai-toolkit --skill pipefy-members-email-webhooks -a claude-code
Открыть на GitHub

Что делает pipefy-members-email-webhooks

Скилл закрывает три участка Pipefy сразу: членство в пайпах, письма из инбокса карточки и вебхуки. Агент умеет приглашать пользователей по email с ролью, менять роль участника, отвязывать сервисный аккаунт от пайпа и подключать его к пайпу — последнее нужно для iPaaS-сценариев, где автоматизация бежит под сервисным аккаунтом. Без членства в пайпе такие вызовы падают с ошибкой доступа, хотя поток выглядит настроенным. Это повод проверить состав участников до запуска.

Отправка письма идёт в два шага. Первый вызов ничего не отправляет: возвращает получателей, тему и тело письма вместе с confirmation_token. Вы показываете это пользователю, получаете одобрение и повторяете вызов с confirm=true и тем же токеном. Токен действует на одно сообщение, поэтому цикл по нескольким карточкам требует подтверждения на каждое письмо. В CLI отправка без --yes печатает письмо и завершается с кодом 2.

Шаблоны писем живут только в интерфейсе Pipefy: создать, изменить или удалить шаблон через API, MCP или CLI нельзя. Если процессу нужен новый шаблон, ручной шаг в UI придётся вписать в план. Удаление участника и удаление вебхука необратимы, их стоит подтверждать отдельно. get_webhooks отдаёт заголовки вебхуков без маскировки, а там обычно лежат токены авторизации — в ответе называйте только имя заголовка.

Какие задачи решает

  • пригласить в пайп нескольких участников с разными ролями
  • подключить сервисный аккаунт к пайпу для iPaaS-автоматизации
  • отправить письмо из инбокса карточки с предпросмотром перед отправкой
  • прочитать входящие и отправленные письма карточки
  • зарегистрировать или обновить вебхук пайпа

Примеры запросов агенту

  • покажи участников пайпа 67890 и пригласи [email protected] с ролью member
  • подготовь письмо из инбокса карточки 12345 для [email protected] и покажи предпросмотр
  • выведи вебхуки пайпа 67890

Как установить pipefy-members-email-webhooks

1Через Skills CLI (Vercel)

npx skills add pipefy/ai-toolkit --skill pipefy-members-email-webhooks -a claude-code

2Вручную: положить файлы

~/.claude/skills/pipefy-members-email-webhooks/SKILL.md

Папка скилла целиком; для одного проекта — .claude/skills/pipefy-members-email-webhooks/

По шагам, с командами для каждой платформы: Как установить скилл в Claude Code: пять способов

Вопросы о pipefy-members-email-webhooks

Как установить pipefy-members-email-webhooks в Claude?

Выполните npx skills add pipefy/ai-toolkit --skill pipefy-members-email-webhooks -a claude-code. Скилл появится по пути ~/.claude/skills/pipefy-members-email-webhooks/SKILL.md.

Что делает pipefy-members-email-webhooks?

Управляет членством в пайпах Pipefy, отправляет и читает письма из инбокса карточки и работает с вебхуками. Отправка письма всегда проходит через предпросмотр с подтверждением.

Можно ли создать шаблон письма через этот скилл?

Нет. Создание, правка и удаление шаблонов есть только в интерфейсе Pipefy, в схеме GraphQL для них нет мутаций. Шаблон должен существовать до того, как поток начнёт его использовать.

Исходный текст

SKILL.md · Apache-2.0
---
name: pipefy-members-email-webhooks
description: >
  Use this skill when the user wants to manage pipe membership, send or read
  card inbox emails, use email templates, or manage webhooks.
tags: [pipefy, members, email, webhooks, inbox]
---

# Members, Email & Webhooks

MCP clients: read [references/mcp.md](references/mcp.md). CLI users: read [references/cli.md](references/cli.md). Examples below describe shared operation arguments.

Manage pipe membership, send emails from card inboxes, read inbox replies, and manage webhooks.

---

## Member management

| Operation | Read-only | Purpose |
| ------------ | ----------- | --------- |
| `invite_members` | No | Invite one or more users by email + role. |
| `add_service_account_to_pipe` | No | Attach an existing org **service account** to a pipe by email + role (iPaaS setup). Check membership afterwards. |
| `remove_member_from_pipe` | No | **Destructive; review and approve first.** Check afterwards: org-level permissions can override pipe removal. |
| `set_role` | No | Change a member's pipe role (`member_id` = user id). |

List existing members with `get_pipe_members` from `pipefy-pipes-and-cards`. Id forms: [`docs/mcp/tools/identifiers.md#members-email-webhooks`](https://github.com/pipefy/ai-toolkit/blob/main/docs/mcp/tools/identifiers.md#members-email-webhooks).

### Steps — invite members

1. **Check existing members:**

   Operation: `get_pipe_members(pipe_id=67890)`

2. **Invite new members:**

   Operation: `invite_members(pipe_id=67890, members='[{"email":"[email protected]","role_name":"member"},{"email":"[email protected]","role_name":"admin"}]')`

   > Before inviting **external emails** (domain different from the org's known domains), warn the user that this is an external invitation and confirm before proceeding.

   > Before granting **admin role**, confirm with the user — admin is the highest pipe-level role.

### Steps — add a service account to a pipe (iPaaS setup)

When setting up an iPaaS (Advanced Automations) flow that runs under a **service account**, the account must be a member of the target pipe, or pipe-scoped calls under its identity fail with a permission error even though the flow looks configured.

1. **Get the service account's email.** Either create one with `create_service_account(organization_uuid, name, role)` — which returns the account's email plus its OAuth2 client secret and token endpoint **once** (store them immediately) — or take the email from your organization's service-account settings. A freshly created account has no pipe access until this step. The pipe role defaults to `admin` (a service account running automations usually needs full pipe access); pass a narrower role only when you deliberately want to limit it.

   > One-step alternative: `create_service_account(organization_uuid, name, role, pipe_ids=[...])` provisions the account **and** adds it to the given pipes in one call, returning a `pipe_memberships` summary. Use it when you already know the target pipes.

2. **Attach it** (when not using the `pipe_ids` shortcut above):

   Operation: `add_service_account_to_pipe(pipe_id=67890, [email protected])` (role defaults to `admin`)

   This attaches an existing service account — create one first with `create_service_account` if needed. Delete a throwaway account after approval when done. See [docs/mcp/tools/service-accounts.md](https://github.com/pipefy/ai-toolkit/blob/main/docs/mcp/tools/service-accounts.md).

---

## Email (card inbox)

| Operation | Read-only | Purpose |
| ------------ | ----------- | --------- |
| `get_card_inbox_emails` | Yes | Read emails in a card's inbox. |
| `send_inbox_email` | No | Send an email from a card inbox. Two-step: preview, then confirm. |
| `get_email_templates` | Yes | List templates for a pipe or table (`repo_id` numeric). |
| `send_email_with_template` | No | Send using a template (`email_template_id` from that list). Two-step: preview, then confirm. |

> **Confirm every send.** Both send operations deliver mail outside Pipefy, often to external addresses, and a sent email cannot be recalled. The first call sends nothing: it returns the message under `email` (`to`, `subject`, `body`, `from_`, and `cc` / `bcc` under `extra` when set) with a `confirmation_token`. Show the user the recipients, the subject and the body from that preview; for `send_email_with_template`, also name the template. The preview is the template already resolved for the card, so it shows the real recipients even when the template's `toEmail` is a `{{...}}` placeholder. After the user approves, repeat the same call with `confirm=true` and that `confirmation_token`. The token covers that one message: changing any argument, or a card edit that changes what the template resolves to, returns a fresh preview instead of sending. The template's `ccEmail` / `bccEmail` are not sent: to copy someone, pass `cc` / `bcc` in the send call. One confirmation covers one send: a request covering several cards still needs a confirmation per email, never one approval for a loop. The token stays valid for its TTL, so repeating the confirmed call sends the email again. If step 2 errors or times out, list the card's sent mail with `get_card_inbox_emails(email_type='sent')` before retrying, and never blind-retry a send. On the CLI, a send without `--yes` prints the email and exits 2; add `--yes` only after approval.

> **Templates are UI-only.** Creating, editing and deleting an email template has no API, MCP or CLI path: the GraphQL schema has no template CRUD mutation. The template must already exist before a flow can send with it. When the process needs a new or changed template, put the manual Pipefy UI step in the plan you give the user instead of promising an end-to-end email flow.

### Steps — send a card inbox email

1. **Get the card's inbox emails** (see what has been received):

   Operation: `get_card_inbox_emails(card_id=12345)`

2. **Preview the reply** (sends nothing):

   Operation: `send_inbox_email(card_id=12345, to=["[email protected]"], from_="[email protected]", subject="Your request is in progress", body="Hi, we are processing your request.")`

   `to` is a list of addresses, and `from_` (the sender address) is required. Show the user the returned `email` and wait for their approval.

3. **Send the reply** (only after approval): repeat the same call with `confirm=true` and the `confirmation_token` from step 2.

---

## Webhooks

| Operation | Read-only | Purpose |
| ------------ | ----------- | --------- |
| `get_webhooks` | Yes | List all webhooks for a pipe. |
| `create_webhook` | No | Register a new webhook endpoint. |
| `update_webhook` | No | Change URL, headers, or events. |
| `delete_webhook` | No | **Destructive; review and approve first.** |

> **Header values are secrets.** `get_webhooks` returns each webhook's `headers` unmasked, and they usually hold authorization tokens or API keys. In a reply, name only the header keys (for example `Authorization`, `X-Api-Key`), never their values, even when the user asks for them. A lost token comes back from the system that issued it; to replace it, set a new value with `update_webhook`. `update_webhook` replaces the whole `headers` object, so send every header from `get_webhooks` and change only the lost one, or the others are deleted. An update that leaves `headers` out deletes them all, so a change to only the URL, name or events must resend the headers too.

### Steps — create a webhook

1. **List existing webhooks:**

   Operation: `get_webhooks(pipe_id=67890)`

2. **Create the webhook:**

   Operation: `create_webhook(pipe_id=67890, url="https://your-server.com/pipefy", actions='["card.create","card.done"]')`

---

## Success criteria

- Invited members appear in `get_pipe_members`.
- Sent emails show in the card's inbox thread.
- Created webhooks receive test payloads from Pipefy on the configured events.

## Failure modes

- **`invite_members` fails with "user not found":** verify the email address is correct.
- **`send_inbox_email` fails:** the card must have an inbox enabled in the pipe settings.
- **Webhook never fires:** verify the pipe events match the configured `actions` list; check that the endpoint URL is publicly reachable (not localhost).
- **Deletion:** review the affected webhook or member and obtain approval before removal.

## See also

- `pipefy-pipes-and-cards` — create the pipe and cards before managing membership.
- `pipefy-observability` — monitor email and webhook delivery logs.
- `pipefy-ipaas` — when a flow's service account needs pipe membership.

© pipefy · Apache-2.0 · pipefy/ai-toolkit

Похожие скиллы

Все скиллы по теме «Автоматизация и no-code: n8n, Zapier, Make» →
agent-email-inbox resend Помогает настроить приём входящих писем через вебхуки Resend для ИИ-агентов. Защищает систему от непроверенных отправителей и запускает сценарии обработки почты. CX Codex +1 13 400установок omni-webhooks cheaper-inference Управляет вебхуками OmniRoute: создаёт, проверяет и удаляет конечные точки, настраивает события и повторные доставки. CX Codex +1 965установок at-email-cli agentteamhq Управляет почтовым ящиком агента через утилиту at-email. Пригодится для чтения входящих, поиска писем, отправки ответов и автоматизации разбора почты. CX Codex +1 1 100установок email-best-practices Resend Скилл от Resend: агент проверяет доставляемость писем, согласие на рассылку, комплаенс и доступность вёрстки ещё до отправки. CX Codex +1 13 500установок shopify-email-flows nexscope-ai Скилл для планирования цепочек писем в Shopify: приветствие, брошенная корзина, письма после покупки, возврат клиента. CX Codex +1 1 100установок email-sequence-designer aaron-he-zhu Собирает карту lifecycle-цепочек письмavto: триггер, тайминг шагов, ветки и выходы. Ставят до того, как писать сами письма. CX Codex +1 1 000установок

Из того же набора8

pipefy-observability Скилл для проверки логов ИИ-агентов и автоматизаций Pipefy, расхода кредитов и выгрузки истории задач в CSV. CX Codex +1 676установок pipefy-automations Скилл для управления традиционными и AI-автоматизациями Pipefy: создание правил if/then, промпт-драйвен-автоматизации и симуляция без выполнения. CX Codex +1 676установок pipefy-pipes-and-cards Скилл даёт агенту операции с пайпами, фазами, полями и карточками Pipefy: чтение, создание, обновление, удаление. Пригодится, когда нужно наполнить фазы для демо или QA. CX Codex +1 675установок pipefy-portal-setup Скилл собирает и настраивает порталы Pipefy: главный хаб, страницы, виджеты и сабпорталы. Пригодится, когда портал нужно поднять из кода, а не руками в интерфейсе. CX Codex +1 674установок pipefy-relations Скилл для работы со связями в Pipefy: создаёт и читает отношения между пайпами, таблицами и карточками через MCP или CLI. CX Codex +1 671установок pipefy-ai-agents Скилл для создания, правки и отладки разговорных ИИ-агентов в Pipefy: агент, его behaviors, триггеры и действия. CX Codex +1 669установок pipefy-building Тонкий роутер: определяет, какой доменный скилл Pipefy открыть под конкретный запрос — пайпы, автоматизации, ИИ-агенты, iPaaS, порталы. CX Codex +1 398установок

Спонсоры проекта

Компании, которые помогают держать аналитику открытой