pipefy-members-email-webhooks
Compare original and translation side by side
🇺🇸
Original
English🇨🇳
Translation
ChineseMembers, Email & Webhooks
成员、邮件与Webhooks
Manage pipe membership, send emails from card inboxes, read inbox replies, and manage webhooks. 12 MCP tools.
管理管道成员、从卡片收件箱发送邮件、读取收件箱回复以及管理Webhooks。12种MCP工具。
Member management
成员管理
| Tool (MCP) | CLI | Read-only | Purpose |
|---|---|---|---|
| | No | Invite one or more users by email + role. |
| | No | Attach an existing org service account to a pipe by email + role (iPaaS setup). Verifies membership afterwards. |
| | No | Two-step destructive. Warns on external emails. |
| | No | Change a member's pipe role. |
List existing members with from skills/pipes-and-cards/pipefy-pipes-and-cards/SKILL.md.
get_pipe_members| 工具(MCP) | CLI | 只读 | 用途 |
|---|---|---|---|
| | 否 | 通过邮箱+角色邀请一位或多位用户。 |
| | 否 | 将现有组织service account通过邮箱+角色绑定到管道(iPaaS配置)。操作后会验证成员身份。 |
| | 否 | 两步式破坏性操作。针对外部邮箱会发出警告。 |
| | 否 | 修改成员的管道角色。 |
可通过skills/pipes-and-cards/pipefy-pipes-and-cards/SKILL.md中的列出现有成员。
get_pipe_membersSteps — invite members
步骤 — 邀请成员
-
Check existing members:MCP:
get_pipe_members pipe_id=67890CLI:pipefy member list --pipe 67890 -
Invite new members:MCP:
invite_members pipe_id=67890 members='[{"email":"alice@example.com","role_name":"member"},{"email":"bob@example.com","role_name":"admin"}]'CLI:pipefy member invite --pipe 67890 --email alice@example.com --role memberBefore 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.
-
检查现有成员:MCP:
get_pipe_members pipe_id=67890CLI:pipefy member list --pipe 67890 -
邀请新成员:MCP:
invite_members pipe_id=67890 members='[{"email":"alice@example.com","role_name":"member"},{"email":"bob@example.com","role_name":"admin"}]'CLI:pipefy member invite --pipe 67890 --email alice@example.com --role member邀请外部邮箱(域名与组织已知域名不同)前,需提醒用户这是外部邀请,并在操作前确认。授予admin角色前,需与用户确认——admin是管道级别最高的角色。
Steps — add a service account to a pipe (iPaaS setup)
步骤 — 将service account绑定到管道(iPaaS配置)
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.
-
Get the service account's email. Either create one with— 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
create_service_account(organization_uuid, name, role)(a service account running automations usually needs full pipe access); pass a narrower role only when you deliberately want to limit it.adminOne-step alternative:provisions the account and adds it to the given pipes in one call, returning acreate_service_account(organization_uuid, name, role, pipe_ids=[...])summary. Use it when you already know the target pipes.pipe_memberships -
Attach it (when not using theshortcut above):
pipe_idsMCP:(role defaults toadd_service_account_to_pipe pipe_id=67890 email=svc-automations@your-org.pipefy-service.com)adminCLI:pipefy member add-service-account --pipe 67890 --email svc-automations@your-org.pipefy-service.comThe MCP tool verifies membership afterwards: it returns an error if the account is not a member of the pipe once the invite is processed, so an incomplete setup is not reported as success. The CLI does not verify — it prints the raw invite result, so check(or runinviteMembers.errors) to confirm the account was actually added. This attaches an existing service account — create one first withpipefy member list --pipe <id>if you don't have one, and delete a throwaway withcreate_service_accountwhen done. See docs/mcp/tools/service-accounts.md.delete_service_account(organization_uuid, service_account_uuid)
当配置在service account下运行的iPaaS(高级自动化)流程时,该账户必须是目标管道的成员,否则即使流程配置完成,以该账户身份发起的管道范围调用仍会因权限错误失败。
-
获取service account的邮箱。可通过创建一个(会一次性返回账户邮箱、OAuth2客户端密钥和令牌端点请立即存储),或从组织的service account设置中获取邮箱。新创建的账户在完成此步骤前无管道访问权限。管道角色默认是
create_service_account(organization_uuid, name, role)(运行自动化的service account通常需要完整的管道访问权限);仅当刻意限制权限时,才传入更窄的角色。admin一步式替代方案:可在一次调用中创建账户并将其添加到指定管道,返回create_service_account(organization_uuid, name, role, pipe_ids=[...])摘要。当已明确目标管道时可使用此方法。pipe_memberships -
绑定账户(未使用上述快捷方式时):
pipe_idsMCP:(角色默认是add_service_account_to_pipe pipe_id=67890 email=svc-automations@your-org.pipefy-service.com)adminCLI:pipefy member add-service-account --pipe 67890 --email svc-automations@your-org.pipefy-service.comMCP工具操作后会验证成员身份:若邀请处理完成后账户仍未成为管道成员,会返回错误,不会将未完成的配置报告为成功。CLI不会进行验证——它会打印原始邀请结果,因此需检查(或运行inviteMembers.errors)来确认账户是否已成功添加。此操作仅绑定现有service account——若没有则需先通过pipefy member list --pipe <id>创建,测试完成后可通过create_service_account删除临时账户。详情见docs/mcp/tools/service-accounts.md。delete_service_account(organization_uuid, service_account_uuid)
Email (card inbox)
邮件(卡片收件箱)
| Tool (MCP) | CLI | Read-only | Purpose |
|---|---|---|---|
| | Yes | Read emails in a card's inbox. |
| | No | Send an email from a card inbox. |
| | Yes | List org-level email templates. |
| | No | Send using a template (substitutes variables). |
| 工具(MCP) | CLI | 只读 | 用途 |
|---|---|---|---|
| | 是 | 读取卡片收件箱中的邮件。 |
| | 否 | 从卡片收件箱发送邮件。 |
| | 是 | 列出组织级邮件模板。 |
| | 否 | 使用模板发送邮件(替换变量)。 |
Steps — send a card inbox email
步骤 — 发送卡片收件箱邮件
-
Get the card's inbox emails (see what has been received):MCP:
get_card_inbox_emails card_id=12345 -
Send a reply:MCP:
send_inbox_email card_id=12345 to="customer@example.com" subject="Your request is in progress" body="Hi, we are processing your request."CLI:pipefy email inbox send --card 12345 --to customer@example.com --subject "Your request is in progress" --body "Hi, we are processing your request." --from-email you@example.com
-
获取卡片的收件箱邮件(查看已收到的邮件):MCP:
get_card_inbox_emails card_id=12345 -
发送回复:MCP:
send_inbox_email card_id=12345 to="customer@example.com" subject="Your request is in progress" body="Hi, we are processing your request."CLI:pipefy email inbox send --card 12345 --to customer@example.com --subject "Your request is in progress" --body "Hi, we are processing your request." --from-email you@example.com
Webhooks
Webhooks
| Tool (MCP) | CLI | Read-only | Purpose |
|---|---|---|---|
| | Yes | List all webhooks for a pipe. |
| | No | Register a new webhook endpoint. |
| | No | Change URL, headers, or events. |
| | No | Two-step destructive. |
| 工具(MCP) | CLI | 只读 | 用途 |
|---|---|---|---|
| | 是 | 列出管道的所有Webhooks。 |
| | 否 | 注册新的Webhook端点。 |
| | 否 | 修改URL、请求头或事件。 |
| | 否 | 两步式破坏性操作。 |
Steps — create a webhook
步骤 — 创建Webhook
-
List existing webhooks:MCP:
get_webhooks pipe_id=67890CLI:pipefy webhook list --pipe 67890 -
Create the webhook:MCP:
create_webhook pipe_id=67890 url="https://your-server.com/pipefy" actions='["card.create","card.done"]'CLI:pipefy webhook create --pipe 67890 --url https://your-server.com/pipefy --events card.create,card.done
-
列出现有Webhooks:MCP:
get_webhooks pipe_id=67890CLI:pipefy webhook list --pipe 67890 -
创建Webhook:MCP:
create_webhook pipe_id=67890 url="https://your-server.com/pipefy" actions='["card.create","card.done"]'CLI:pipefy webhook create --pipe 67890 --url https://your-server.com/pipefy --events 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.
- 被邀请的成员出现在的结果中。
get_pipe_members - 已发送的邮件显示在卡片的收件箱对话中。
- 创建的Webhooks会在配置的事件触发时收到Pipefy的测试负载。
Failure modes
失败场景
- fails with "user not found": verify the email address is correct.
invite_members - fails: the card must have an inbox enabled in the pipe settings.
send_inbox_email - Webhook never fires: verify the pipe events match the configured list; check that the endpoint URL is publicly reachable (not localhost).
actions - first call returns preview: expected — show preview, then call with
delete_webhook.confirm=true
- 失败并提示“user not found”: 验证邮箱地址是否正确。
invite_members - 失败: 管道设置中必须已启用卡片收件箱。
send_inbox_email - Webhook从未触发: 验证管道事件是否与配置的列表匹配;检查端点URL是否可公开访问(不能是localhost)。
actions - 首次调用返回预览: 此为预期行为——展示预览后,携带
delete_webhook参数再次调用即可。confirm=true
See also
另请参阅
- — create the pipe and cards before managing membership.
skills/pipes-and-cards/ - — monitor email and webhook delivery logs.
skills/observability/ - skills/ipaas/pipefy-ipaas/SKILL.md — when a flow's service account needs pipe membership.
- — 在管理成员前先创建管道和卡片。
skills/pipes-and-cards/ - — 监控邮件和Webhook的交付日志。
skills/observability/ - skills/ipaas/pipefy-ipaas/SKILL.md — 当流程的service account需要管道成员身份时参考。