← Webflow

Delete Collection Item with Webflow API

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

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

  1. Configure the Delete Collection Item action
    1. Connect your Webflow account
    2. Select a Site
    3. Select a Collection
    4. Select a Item
  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.

Delete Collection Item on Webflow
Description:Delete Item of a Collection. [See the docs here](https://developers.webflow.com/#remove-collection-item)
Version:0.0.2
Key:webflow-delete-collection-item

Code

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

export default {
  key: "webflow-delete-collection-item",
  name: "Delete Collection Item",
  description: "Delete Item of a Collection. [See the docs here](https://developers.webflow.com/#remove-collection-item)",
  version: "0.0.2",
  type: "action",
  props: {
    webflow,
    siteId: {
      propDefinition: [
        webflow,
        "sites",
      ],
    },
    collectionId: {
      propDefinition: [
        webflow,
        "collections",
        (c) => ({
          siteId: c.siteId,
        }),
      ],
    },
    itemId: {
      propDefinition: [
        webflow,
        "items",
        (c) => ({
          collectionId: c.collectionId,
        }),
      ],
    },
  },
  async run({ $ }) {
    const webflow = this.webflow._createApiClient();

    const response = await webflow.removeItem({
      collectionId: this.collectionId,
      itemId: this.itemId,
    });

    $.export("$summary", "Successfully deleted item");

    return response;
  },
};

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
WebflowwebflowappThis component uses the Webflow app.
SitesiteIdstringSelect a value from the drop down menu.
CollectioncollectionIdstringSelect a value from the drop down menu.
ItemitemIdstringSelect a value from the drop down menu.

Authentication

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

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

About Webflow

Responsive web design tool