← Trello

Archive Card with Trello API

Pipedream makes it easy to connect APIs for Trello and 800+ other apps remarkably fast.

Trigger workflow on
HTTP requests, schedules and app events
Next, do this
Archive Card with the Trello 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 Archive Card with the Trello API. When you configure and deploy the workflow, it will run on Pipedream's servers 24x7 for free.

  1. Configure the Archive Card action
    1. Connect your Trello account
    2. Select a Board
    3. Select a Card
  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

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.

Archive Card on Trello
Description:Archives a card. [See the docs here](https://developer.atlassian.com/cloud/trello/rest/api-group-cards/#api-cards-id-put)
Version:0.1.2
Key:trello-archive-card

Code

import common from "../common.js";

export default {
  ...common,
  key: "trello-archive-card",
  name: "Archive Card",
  description: "Archives a card. [See the docs here](https://developer.atlassian.com/cloud/trello/rest/api-group-cards/#api-cards-id-put)",
  version: "0.1.2",
  type: "action",
  props: {
    ...common.props,
    board: {
      propDefinition: [
        common.props.trello,
        "board",
      ],
    },
    idCard: {
      propDefinition: [
        common.props.trello,
        "cards",
        (c) => ({
          board: c.board,
        }),
      ],
      type: "string",
      label: "Card",
      description: "The ID of the Card to archive",
      optional: false,
    },
  },
  async run({ $ }) {
    const res = await this.trello.archiveCard(this.idCard, $);
    $.export("$summary", `Successfully archived card ${this.idCard}`);
    return res;
  },
};

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
TrellotrelloappThis component uses the Trello app.
BoardboardstringSelect a value from the drop down menu.
CardidCardstringSelect a value from the drop down menu.

Authentication

Trello uses OAuth authentication. When you connect your Trello account, Pipedream will open a popup window where you can sign into Trello and grant Pipedream permission to connect to your account. Pipedream securely stores and automatically refreshes the OAuth tokens so you can easily authenticate any Trello API.

Pipedream requests the following authorization scopes when you connect your account:

readwrite

About Trello

Trello keeps track of everything, from the big picture to the minute details