← Pipefy

Get All Cards with Pipefy API

Pipedream makes it easy to connect APIs for Pipefy and 1000+ other apps remarkably fast.

Trigger workflow on
HTTP requests, schedules and app events
Next, do this
Get All Cards with the Pipefy API
No credit card required
Into to Pipedream
Watch us build a workflow
Watch us build a workflow
7 min
Watch now ➜
Trusted by 250,000+ developers from startups to Fortune 500 companies:
Trusted by 250,000+ developers from startups to Fortune 500 companies

Developers Pipedream

Getting Started

Create a workflow to Get All Cards with the Pipefy API. When you configure and deploy the workflow, it will run on Pipedream's servers 24x7 for free.

  1. Configure the Get All Cards action
    1. Connect your Pipefy account
    2. Select a Organization
    3. Select a Pipe
    4. Configure Max Cards
  2. Select a trigger to run your workflow on HTTP requests, schedules or app events
  3. Deploy the workflow
  4. Send a test event to validate your setup
  5. Turn on the trigger

Integrations

Get All Cards with Pipefy API on New Requests (Payload Only) from HTTP / Webhook API
HTTP / Webhook + Pipefy
 
Try it
Get All Cards with Pipefy API on New Item in Feed from RSS API
RSS + Pipefy
 
Try it
Get All Cards with Pipefy API on New Message from Discord API
Discord + Pipefy
 
Try it
Get All Cards with Pipefy API on New Message In Channels from Slack API
Slack + Pipefy
 
Try it
Get All Cards with Pipefy API on New Message in Channel from Discord Bot API
Discord Bot + Pipefy
 
Try it

Details

This is a pre-built, open source component from Pipedream's GitHub repo. The component is developed by Pipedream and the community, and verified and maintained by Pipedream.

To contribute an update to an existing component or create a new component, create a PR on GitHub. If you're new to Pipedream component development, you can start with quickstarts for trigger span and action development, and then review the component API reference.

Get All Cards on Pipefy
Description:Fetches all cards in a pipe. [See the docs here](https://api-docs.pipefy.com/reference/queries/#allCards)
Version:0.1.2
Key:pipefy-get-all-cards

Code

import pipefy from "../../pipefy.app.mjs";

export default {
  key: "pipefy-get-all-cards",
  name: "Get All Cards",
  description: "Fetches all cards in a pipe. [See the docs here](https://api-docs.pipefy.com/reference/queries/#allCards)",
  version: "0.1.2",
  type: "action",
  props: {
    pipefy,
    organization: {
      propDefinition: [
        pipefy,
        "organization",
      ],
    },
    pipe: {
      propDefinition: [
        pipefy,
        "pipe",
        (c) => ({
          orgId: c.organization,
        }),
      ],
    },
    max: {
      type: "integer",
      label: "Max Cards",
      description: "Maximum number of cards to return",
      default: 100,
    },
  },
  async run({ $ }) {
  /*
  Example query:

  {
    allCards(pipeId: 301498507) {
    pageInfo{hasNextPage} edges{node{title}}
  }
  */
    const cards = [];
    let hasNextPage, cursor;
    do {
      const {
        edges, pageInfo,
      } = await this.pipefy.listCards(this.pipe, cursor);
      cards.push(...edges);
      if (cards.length >= this.max) {
        break;
      }
      hasNextPage = pageInfo.hasNextPage;
      cursor = pageInfo.endCursor;
    } while (hasNextPage);

    if (cards.length > this.max) {
      cards.length = this.max;
    }

    $.export("$summary", `Successfully retrieved ${cards.length} card(s)`);
    return cards;
  },
};

Configuration

This component may be configured based on the props defined in the component code. Pipedream automatically prompts for input values in the UI and CLI.
LabelPropTypeDescription
PipefypipefyappThis component uses the Pipefy app.
OrganizationorganizationstringSelect a value from the drop down menu.
PipepipestringSelect a value from the drop down menu.
Max Cardsmaxinteger

Maximum number of cards to return

Authentication

Pipefy uses API keys for authentication. When you connect your Pipefy account, Pipedream securely stores the keys so you can easily authenticate to Pipefy APIs in both code and no-code steps.

To authorize requests to the Pipefy API, you'll need to generate a Personal access token. In order to create Pipefy triggers in Pipedream, you will need to be a Pipefy administrator.

About Pipefy

Process Management, Workflow Management Software

More Ways to Use Pipefy

Triggers

Card Created (Instant) from the Pipefy API

Emits an event for each new card created in a Pipe.

 
Try it
Card Done (Instant) from the Pipefy API

Emits an event each time a card is moved to Done a Pipe.

 
Try it
Card Expired from the Pipefy API

Emits an event each time a card becomes expired in a Pipe.

 
Try it
Card Field Updated (Instant) from the Pipefy API

Emits an event each time a card field is updated in a Pipe.

 
Try it
Card Late from the Pipefy API

Emits an event each time a card becomes late in a Pipe.

 
Try it

Actions

Create Card with the Pipefy API

Create a new Card in a Pipe. See the docs here

 
Try it
Create Pipe with the Pipefy API

Creates a pipe. See the docs here

 
Try it
Create Table Record with the Pipefy API

Creates a new table record. See the docs here

 
Try it
Delete Card with the Pipefy API

Deletes a card. See the docs here

 
Try it
Get Current User with the Pipefy API

Gets information of the current authenticated user. See the docs here

 
Try it