pipefy-members-email-webhooks
Use this skill when the user wants to manage pipe membership, send or read card inbox emails, use email templates, or manage webhooks.
How do I install this agent skill?
npx skills add https://github.com/pipefy/ai-toolkit --skill pipefy-members-email-webhooksIs this agent skill safe to install?
- Gen Agent Trust Hubpass
This skill facilitates Pipefy management tasks including membership, email communication, and webhooks. It contains appropriate security guidelines for the agent to prevent secret exposure and requires human confirmation for destructive or external-facing actions.
- Socketpass
No alerts
- Snykwarn
Risk: MEDIUM · 1 issue
What does this agent skill do?
Members, Email & Webhooks
MCP clients: read references/mcp.md. CLI users: read 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.
Steps — invite members
-
Check existing members:
Operation:
get_pipe_members(pipe_id=67890) -
Invite new members:
Operation:
invite_members(pipe_id=67890, members='[{"email":"alice@example.com","role_name":"member"},{"email":"bob@example.com","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.
-
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 toadmin(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 apipe_membershipssummary. Use it when you already know the target pipes. -
Attach it (when not using the
pipe_idsshortcut above):Operation:
add_service_account_to_pipe(pipe_id=67890, email=svc-automations@your-org.pipefy-service.com)(role defaults toadmin)This attaches an existing service account — create one first with
create_service_accountif needed. Delete a throwaway account after approval when done. See 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. Approve first (see below). |
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). Approve first (see below). |
Confirm every send. Both send operations deliver mail outside Pipefy, often to external addresses, and a sent email cannot be recalled. Before anything is sent, show the user the recipients, the subject and the body; for a template send, also name the template, and show it resolved for the card, so the real recipients appear even when the template's
toEmailis a{{...}}placeholder. Send only after the user approves. The template'sccEmail/bccEmailare not sent: to copy someone, passcc/bccin 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. If a send errors or times out, list the card's sent mail withget_card_inbox_emails(email_type='sent')before retrying, and never blind-retry a send.How the approval works depends on the surface. In the SDK,
send_inbox_emailandsend_email_with_templatesend at once: for a template,draft_email_from_templateresolves it for the card without sending, andsend_inbox_email_draftsends the approved draft as it is. The MCP tools return a preview and a confirmation token first (MCP). The CLI prints the email and sends only with--yes(CLI).
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
-
Get the card's inbox emails (see what has been received):
Operation:
get_card_inbox_emails(card_id=12345) -
Show the reply to the user (recipients, sender, subject, body) and wait for their approval.
-
Send the reply (only after approval):
Operation:
send_inbox_email(card_id=12345, to=["customer@example.com"], from_="you@example.com", subject="Your request is in progress", body="Hi, we are processing your request.")tois a list of addresses, andfrom_(the sender address) is required. On MCP and the CLI, this step includes the preview and confirm described above.
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_webhooksreturns each webhook'sheadersunmasked, and they usually hold authorization tokens or API keys. In a reply, name only the header keys (for exampleAuthorization,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 withupdate_webhook.update_webhookreplaces the wholeheadersobject, so send every header fromget_webhooksand change only the lost one, or the others are deleted. An update that leavesheadersout deletes them all, so a change to only the URL, name or events must resend the headers too.
Steps — create a webhook
-
List existing webhooks:
Operation:
get_webhooks(pipe_id=67890) -
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_membersfails with "user not found": verify the email address is correct.send_inbox_emailfails: the card must have an inbox enabled in the pipe settings.- Webhook never fires: verify the pipe events match the configured
actionslist; 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.
How can the creator link this skill?
Add the canonical catalog link to the repository README so users can inspect current installs and available audits. The publishing guide covers the complete discovery path.
<a href="https://skillzs.dev/skills/pipefy/ai-toolkit/pipefy-members-email-webhooks">View pipefy-members-email-webhooks on skillZs</a>