Webflow

Manage sites, collections, and CMS items in Webflow.

ContentAPI key10 actionsAll integrations

On this page
  1. Connect
  2. Call it from a workflow
  3. Actions (10)
  4. find_collection_item
  5. create_collection_item
  6. custom_api_call
  7. delete_collection_item
  8. find_order
  9. fulfill_order
  10. get_collection_item
  11. refund_order
  12. unfulfill_order
  13. update_collection_item
  14. Details

Connect

Auth type: API key (secret_text). Pass the provider's API key or token as the connection's credential. It is sealed at rest and only opened on the server when an action runs.

  • From your agent: integrations {action: "connect", piece, credentials, env} stores the credentials for dev, prod or all. Answers name the fields, never the values.
  • Or set the integration's project secrets with the secrets tool (SLACK_BOT_TOKEN, DISCORD_WEBHOOK_URL, TELEGRAM_BOT_TOKEN, TWILIO_ACCOUNT_SID and TWILIO_AUTH_TOKEN …): a call uses the connection, else those secrets. integrations {action: "catalog", piece} lists which ones work.
  • Try one action now with integrations {action: "call", piece, piece_action, input}. It really sends.

Call it from a workflow

step.ctx.integrations.invoke("webflow", action, input) resolves with the provider's answer and rejects when Webflow isn't connected or refuses. Wrap it in step.run so a retry sends once. See step.ctx. Its actions run through the integration runner, which the server's operator turns on: integrations {action: "catalog", piece: "webflow"} says whether yours can call it.

Workflow
// workflows/notify.ts: call Webflow when a booking is confirmed
import { on } from "@appbricx/workflows";

export const tellWebflow = on.transition("booking", "status", "confirmed", async (_event, step) => {
  // Recorded once: a retry doesn't send it twice. Rejects when Webflow isn't connected.
  const output = await step.run("Webflow", () =>
    step.ctx.integrations.invoke("webflow", "find_collection_item", {
      "site_id": "<site_id>",
      "collection_id": "<collection_id>",
      "field_name": "<field name>",
      "field_value": "<field value>"
    }),
  );
  step.ctx.log("Webflow answered", output);
});
Try it from your agent
{
  "name": "integrations",
  "arguments": {
    "project_id": "<project-id>",
    "action": "call",
    "piece": "webflow",
    "piece_action": "find_collection_item",
    "input": {
      "site_id": "<site_id>",
      "collection_id": "<collection_id>",
      "field_name": "<field name>",
      "field_value": "<field value>"
    },
    "env": "dev"
  }
}
From another backend (connector proxy)
curl -X POST "$APP_ORIGIN/__appbricx/connector-proxy/webflow/find_collection_item" \
  -H "Authorization: Bearer $APP_KEY" \
  -H "content-type: application/json" \
  -d '{"props":{"site_id":"<site_id>","collection_id":"<collection_id>","field_name":"<field name>","field_value":"<field value>"}}'

Actions

find_collection_item

Find a Collection Item by Field. Find collection item in a collection by field

InputTypeDescription
site_idrequiredid (picked from your account)Site
collection_idrequiredid (picked from your account)Collection
field_namerequiredtextThe name of the field to search by
field_valuerequiredtextThe value of the field to search for
max_resultsoptionalnumberThe maximum number of results to return

create_collection_item

Create Collection Item. Creates new collection item.

InputTypeDescription
site_idrequiredid (picked from your account)Site
collection_idrequiredid (picked from your account)Collection
collection_fieldsrequiredobject (depends on other props)Collection Fields
is_archivedoptionalbooleanWhether the item is archived or not
is_draftoptionalbooleanWhether the item is a draft or not

custom_api_call

Custom API Call. Make a custom API call to a specific endpoint

InputTypeDescription
urlrequiredobject (depends on other props)url
methodrequiredone of "GET" | "POST" | "PATCH" | "PUT" | "DELETE" | "HEAD"Method
headersrequiredobjectAuthorization headers are injected automatically from your connection.
queryParamsrequiredobjectQuery Parameters
body_typeoptionalone of "none" | "json" | "form_data" | "raw"Body Type
bodyoptionalobject (depends on other props)Body
response_is_binaryoptionalbooleanEnable for files like PDFs, images, etc.
failsafeoptionalbooleanNo Error on Failure
timeoutoptionalnumberTimeout (in seconds)
followRedirectsoptionalbooleanFollow redirects

delete_collection_item

Delete an item in a collection. Delete collection item

InputTypeDescription
site_idrequiredid (picked from your account)Site
collection_idrequiredid (picked from your account)Collection
collection_item_idrequiredid (picked from your account)Collection Item

find_order

Find an order. Find order

InputTypeDescription
site_idrequiredid (picked from your account)Site
order_idrequiredid (picked from your account)Order

fulfill_order

Fulfill an order. Fulfill order

InputTypeDescription
site_idrequiredid (picked from your account)Site
order_idrequiredid (picked from your account)Order
send_order_fulfilled_emailoptionalbooleanSend an email to the customer that their order has been fulfilled

get_collection_item

Get a Collection Item by ID. Get collection item in a collection by ID

InputTypeDescription
site_idrequiredid (picked from your account)Site
collection_idrequiredid (picked from your account)Collection
collection_item_idrequiredid (picked from your account)Collection Item

refund_order

Refund an order. Refund order

InputTypeDescription
site_idrequiredid (picked from your account)Site
order_idrequiredid (picked from your account)Order

unfulfill_order

Unfulfill an order. Unfulfill order

InputTypeDescription
site_idrequiredid (picked from your account)Site
order_idrequiredid (picked from your account)Order

update_collection_item

Update an item in a collection. Update collection item

InputTypeDescription
site_idrequiredid (picked from your account)Site
collection_idrequiredid (picked from your account)Collection
collection_item_idrequiredid (picked from your account)Collection Item
collection_fieldsrequiredobject (depends on other props)Collection Fields
is_archivedoptionalbooleanWhether the item is archived or not
is_draftoptionalbooleanWhether the item is a draft or not

Details

Id
webflow
Category
Content
Tags
cms, website, design, no-code
Package
@activepieces/piece-webflow@0.2.4
Runs
Through the integration runner