skillZs
★ LIVE SKILL TAGS ★
>>> LIVE SKILLS INDEX <<<
* OPEN SOURCE *
NO LOGIN, NO TRACKING
※ REAL INSTALL DATA ※
← back to all skills
pipefy/ai-toolkit808 installs

pipefy-pipes-and-cards

Use this skill when the user wants to read, create, update, or delete pipes, phases, phase fields, labels, cards, comments, or field conditions. Use the seed-pipe-across-phases workflow when populating empty phases for demos or QA.

How do I install this agent skill?

npx skills add https://github.com/pipefy/ai-toolkit --skill pipefy-pipes-and-cards
view source ↗

Is this agent skill safe to install?

  • Gen Agent Trust Hubpass

    The skill facilitates management of Pipefy workflow resources. It includes capabilities for reading local files for attachments and downloading content from external URLs. It also processes user-generated content (cards, comments), which constitutes an indirect prompt injection surface.

  • Socketpass

    No alerts

  • Snykwarn

    Risk: MEDIUM · 2 issues

What does this agent skill do?

Pipes & Cards

Read only the reference for your active surface: MCP or CLI. The workflows below use shared operation names and arguments.

Read, create, update, and delete pipes, phases, phase fields, labels, cards, attachments, and field conditions.


Cross-cutting patterns

  • Field types for create_phase_field are the API's FieldTypeId enum values (lower case, e.g. short_text, not SHORT_TEXT). The tool's input schema lists them.

  • Phase connections. A card moves only to a phase that its current phase connects to. A move rule in an automation or an AI agent has the same limit. create_phase, and create_pipe with phases, connect each new phase to the phases beside it. A new connection applies at once to every card in the source phase. Add only the connections that the user or the specification asks for, with add_phase_move_targets. If neither names the phases to connect, ask the user. The tool keeps the current connections. It does not remove a connection. Ask a pipe admin to remove it in the Pipefy UI. The API has no atomic add. Send all new destinations of one phase in one call. If you need more than one call on the same phase, wait for each call to finish before you start the next one. Call get_phase_allowed_move_targets before moves.

  • Verify-after-write. After create/update, re-read with the matching get tool (get_pipe, get_card, get_phase_fields, etc.) before reporting success. Do not treat the write response alone as proof.


Pipe operations

OperationRead-onlyPurpose
get_pipeYesFetch pipe metadata including phases and fields.
search_pipesYesSearch by name pattern.
create_pipeNoCreate a new pipe in the org, with its phases, start form fields and labels.
update_pipeNoRename or change pipe settings.
delete_pipeNoDestructive; review and approve first.
clone_pipeNoClone an existing pipe.
get_pipe_membersYesList members of a pipe.

Steps — create a pipe with phases

  1. Create the pipe with its phases and start form fields in one call. Pass the phases in order, mark the final one done, and give each a name no other phase in the pipe has.

    create_pipe name="Customer Onboarding" organization_id=300123456 phases=[{"name": "Kickoff"}, {"name": "Setup"}, {"name": "Live", "done": true}] start_form_fields=[{"label": "Customer name", "type_id": "short_text", "required": true}]

    With phases, the pipe gets exactly those phases, in that order, instead of Inbox, Doing and Done, and each phase is connected to the phases beside it so cards can move between them. Without phases, the pipe keeps Inbox, Doing and Done. Pass labels (name and a hex color) in the same call when the process needs them. Do not create the pipe first and then rename or add phases.

    The result lists the new phases, start form fields and labels with their ids. Use those ids in the next calls.

    When the call fails with PIPE_PHASE_SETUP_FAILED, the pipe exists but its phases are incomplete: error.details holds pipe_id and the phases created so far. Read the pipe with get_pipe, then add the missing phases with create_phase, or delete the pipe. delete_pipe is destructive; review and approve first.

  2. Add fields to the other phases with create_phase_field, using the phase ids from the result.

  3. Call get_pipe and confirm the phases and fields.

Steps — add a phase to an existing pipe

Call create_phase with an index. index is a float sort key: a value between two existing keys inserts between those phases. Equal keys have no fixed order; use a key no other phase has. The default Inbox, Doing and Done keys are 1, 2 and 3, and 0 omits the phase from get_pipe phases. get_pipe returns each key as phases[].index, in ascending order. Between 2 and 3, use two decimal places (2.01, 2.02, ..., 2.99): 2.10 is the same float as 2.1, so the tenth value ties with the first. Call get_pipe and confirm the phase names are in the intended order. The new phase is connected to the phases beside it; call get_phase_allowed_move_targets on it and on its neighbors to check the connections.


Phase operations

OperationRead-onlyPurpose
get_pipeYesRead phase metadata from the pipe response.
create_phaseNoAdd a phase to a pipe.
update_phaseNoRename, set the done flag. update_phase has no index field. To move a phase that has no cards, delete it and create it again with the sort key.
delete_phaseNoDestructive; review and approve first.
get_phase_allowed_move_targetsYesValid destination phases before move_card_to_phase.
add_phase_move_targetsNoAdd destination phases to a phase. It does not remove a connection. Ask a pipe admin to remove it in the Pipefy UI.
get_phase_cards_countYesNative per-phase card count via get_phase.
get_phase_cardsYesPaginated cards in a phase.

Seed pipe across phases

Use this workflow to place at least one card in each workflow phase (demos, QA checklists, chaos pipes) without execute_graphql. The phases must be connected. get_phase_allowed_move_targets shows the connections, and add_phase_move_targets adds a missing one.

Tools needed

OperationRead-only
get_pipeYes
get_phase_cards_countYes
create_cardNo
get_phase_cardsYes
get_phase_allowed_move_targetsYes
move_card_to_phaseNo

Before move_card_to_phase, call get_phase_allowed_move_targets. Required empty fields may prevent a move.

Steps

  1. Load phase IDs — get_pipe(pipe_id) → collect phases[].id for workflow phases. Omit phase_id on create_card for start-form intake.

    get_pipe pipe_id="301234567"

  2. Find empty phases — for each candidate phase_id, call get_phase_cards_count. Target phases where cards_count is 0 (if the start form shows 0 but you suspect cards, call get_phase_cards before creating duplicates).

    get_phase_cards_count phase_id="341234567"

  3. Create cards in empty phases — loop create_card with phase_id. Send only keys from get_phase_fields(phase_id) and get_start_form_fields(pipe_id) in fields.

    create_card pipe_id="301234567" phase_id="341234567" title="Seeded" fields={}
    
  4. Verify inventory — get_phase_cards(phase_id, first=50) and confirm expected card IDs/titles.

  5. Before moves — on the card's current phase, get_phase_allowed_move_targets then move_card_to_phase only to an allowed_phases[].id.

    get_phase_allowed_move_targets phase_id="<current_phase_id>"

Success criteria

  • Every targeted phase reports cards_count >= 1 (or get_phase_cards lists the seeded cards).
  • Moves use only phases returned in allowed_phases.

Failure modes

  • Empty allowed_phases: the phase has no outgoing connections. Ask the user which phases to connect, unless the user or the specification already names them. Add those connections with add_phase_move_targets.
  • Unexpected empty count: use get_phase_cards to list cards before creating duplicates.

Phase field operations

OperationRead-onlyPurpose
get_phase_fieldsYesList fields on a phase.
get_start_form_fieldsYesList start-form fields for card creation.
create_phase_fieldNoAdd field to a phase.
update_phase_fieldNoRename, reorder, change required flag.
delete_phase_fieldNoDestructive; review and approve first.

Field types: field_type takes a FieldTypeId value, which the create_phase_field input schema lists (or introspect_type type_name="FieldTypeId"). Set options for select, radio, and checklist types. A connector field also needs connectedRepoId, a pipe id or a table id, as an extra input key: a keyword argument in the SDK, extra_input on MCP, --extra on the CLI.


Card operations

OperationRead-onlyPurpose
get_cardYesTitle, phase, pipe, optional fields. Does not return labels or assignees.
get_cardsYesPaginated card list by pipe.
get_recordsYesList, count and filter the cards of a pipe by dates, phase, labels, assignees, creator, title or custom fields; exact totalCount.
find_cardsYesFilter by a single field value.
create_cardNoDefault: start form. Optional phase_id creates in that phase.
fill_card_phase_fieldsNoFill phase fields; filters to editable IDs.
update_cardNoUpdate title, assignees, labels, due date, or fields. For list-valued fields (connections, attachments, checklists), prefer field_updates with operation ADD/REMOVE. Pipe labels and assignees are card attributes (label_ids / assignee_ids, replace-all), not fields — see Label operations. If field_updates is set, attribute args are discarded. For connectors, send related card ids.
update_card_fieldNoSingle-field updateCardField; list-valued fields are replace-all. For connectors, values are related card ids (not display titles). Do not rebuild from get_card value (titles only); read ids via get_card_relations. Prefer update_card + ADD/REMOVE for fields. Pipe labels use label_ids, not this tool.
move_card_to_phaseNoCall get_phase_allowed_move_targets first; required empty fields may block the move.
delete_cardNoDestructive; review and approve first.
add_card_commentNoAdd a text comment to a card.
update_commentNoUpdate an existing card comment.
delete_commentNoDestructive; review and approve first.

Steps — create a card

  1. Get start form fields (required — never skip):

    get_start_form_fields pipe_id=301234567

  2. Create the card with fields:

    create_card pipe_id=301234567 title="My Card" fields={"field_slug":"value"}
    
  3. Report result with card ID and link: https://app.pipefy.com/open-cards/<CARD_ID>

Count and filter cards

get_records answers "how many" in one call: set first=1 and read records.totalCount, not the length of a page. A count per group (per assignee, per label) is one call per group. In where and order_by, field must be the custom field uuid from get_phase_fields (for a start-form field, call get_phase_fields with phase_id set to get_pipe's startFormPhaseId); a slug is rejected. Dates are ISO 8601: date-time attributes such as CREATED_AT and FINISHED_AT take an offset, but a date custom field takes the bare date ("2026-07-03"), because a non-UTC offset makes eq return 0 and shifts a between window. between takes {"min": ..., "max": ...}. like and ilike both ignore case and match each word of the value as a substring, in any order: % and _ are literal, so ilike: "acme", not "%acme%". To find a card by id, use where={"attribute": "ID", "eq": "<id>"}. With where or search_term, pages stop at 10,000 cards. To list every card, page with after set to the previous pageInfo.endCursor until hasNextPage is false, and check that the rows add up to totalCount.

get_records pipe_id=67890 where={"attribute":"FINISHED_AT","between":{"min":"2026-01-01T00:00:00-03:00","max":"2026-01-31T23:59:59-03:00"}}

Pagination for get_cards

get_cards pipe_id=301234567 first=50 after=<endCursor>

Read pageInfo.hasNextPage and pageInfo.endCursor from the response; set after=<endCursor> for the next page.


Label operations

OperationRead-onlyPurpose
get_pipeYesList pipe labels from labels in the pipe response.
create_labelNoCreate a label with a color.
update_labelNoRename or recolor.
delete_labelNoDestructive; review and approve first.

These tools manage label definitions on the pipe. Applying a pipe label to a card is update_card(label_ids=[...]), which replaces the card's whole label list: include every id that should remain; do not send only the new one. get_card does not return labels — read current ids via execute_graphql (card(id: ...) { labels { id } }), merge, then write. field_updates with operation ADD/REMOVE is for list-valued fields, not for card-attribute labels. When the user wants a label applied automatically ("mark it late when it goes past the due date"), stop and read pipefy-automations (applying a label has no automation action): no automation action does it, and driving update_card over a set of cards makes the agent the runtime instead of the process.


Field condition operations

OperationPurpose
get_field_conditionsList all field conditions on a phase.
get_field_conditionLoad one field condition by ID.
create_field_conditionCreate show/hide rule. Verify that the rule is on the requested phase before reporting success.
update_field_conditionUpdate condition action or rule.
delete_field_conditionDestructive; review and approve first.

Do not hide a required field; clear required first.


Success criteria

  • Pipe and phases visible in Pipefy UI.
  • get_pipe returns the new pipe ID and phases.
  • Cards created via create_card appear in the pipe's first phase.

Failure modes

  • Field condition on the wrong phase: after create_field_condition, read get_field_conditions(phase_id) back and check that the rule is on the requested phase. If it is missing or on another phase, delete that condition before recreating; do not blind-retry create on the same requested phase.
  • create_card fails with missing required fields: call get_start_form_fields first to discover required field_id values.
  • create_card / write reports failure (empty or unclear message): do not blind-retry. Re-read get_cards / get_phase_cards_count (or pipe cards_count) before any retry — see pipefy-api-fallback (ambiguous write failure re read before retry).
  • Connections missing after a connector field update: update_card_field is replace-all — writing one related card id drops the rest (same replace-all applies to other list-valued fields: attachments, checklists). Prefer update_card with operation ADD/REMOVE and related card ids. Do not rebuild a full list from get_card value (display titles only); for REMOVE or a safe full rewrite, get current related-card ids from get_card_relations (or GraphQL array_value). For writes via a pipe relation (not a connector field), use create_card_relation / delete_card_relation — see pipefy-relations. Pipe labels and assignees are not fields: use update_card(label_ids=) / assignee_ids (replace-all); field_updates ADD cannot address them.
  • create_phase_field rejects type (Field type not found with id: ...): use a FieldTypeId value, in lower case (short_text, not SHORT_TEXT). introspect_type type_name="FieldTypeId" lists them.

See also

  • pipefy-relations — link pipes and cards across workflows.
  • pipefy-automations — add automation rules to a pipe.
  • pipefy-introspection — discover field types and mutation signatures.
  • docs/mcp/tools/identifiers.md#field-references-slug-vs-internal_id — canonical map of which tool/argument expects slug vs internal_id vs uuid vs numeric id (e.g. update_card_field uses a field slug).

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-pipes-and-cards">View pipefy-pipes-and-cards on skillZs</a>