Webflow
Manage sites, collections, and CMS items in Webflow.
On this page
Connect
Auth type: API key (secret_text). Paste the API key (or token) from the provider's settings into the connect dialog. It is encrypted at rest and only decrypted on the server when an action runs.
- In the editor: Backend panel, Integrations tab, then Connect. This connects it for the project.
- For every project in a workspace: Workspace settings, Integrations.
- Owners and admins choose which integrations members may connect in the admin panel (Integrations tab), and can attach their own OAuth app there.
Call it from a workflow
Pass the action name and its input. The call resolves with { success, output, error? }; a missing connection resolves with success false and the reason. See ctx.integrations.invoke and ctx.integrations.call.
// .workflow.js (native ctx)
export async function run(ctx) {
const res = await ctx.integrations.invoke("webflow", "find_collection_item", {
"site_id": "<site_id>",
"collection_id": "<collection_id>",
"field_name": "<field name>",
"field_value": "<field value>"
});
if (!res.success) throw new Error(res.error);
ctx.log.info("Webflow answered", { output: res.output });
}// defineWorkflow module (@app/sdk ctx)
import { defineWorkflow } from "@app/sdk";
export default defineWorkflow({
id: "webflow-find-collection-item",
name: "Webflow: Find a Collection Item by Field",
description: "Calls Webflow when a row is created.",
trigger: { type: "entity_event", entity: "tickets", event: "created" },
async run(ctx, event) {
const res = await ctx.integrations.call("webflow", {
"action": "find_collection_item",
"site_id": "<site_id>",
"collection_id": "<collection_id>",
"field_name": "<field name>",
"field_value": "<field value>"
}) as { success: boolean; error?: string };
if (!res.success) throw new Error(res.error);
},
});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_itemin catalog
Find a Collection Item by Field. Find collection item in a collection by field
| Input | Type | Description |
|---|---|---|
site_idrequired | id (picked from your account) | Site |
collection_idrequired | id (picked from your account) | Collection |
field_namerequired | text | The name of the field to search by |
field_valuerequired | text | The value of the field to search for |
max_resultsoptional | number | The maximum number of results to return |
create_collection_item
Create Collection Item. Creates new collection item.
| Input | Type | Description |
|---|---|---|
site_idrequired | id (picked from your account) | Site |
collection_idrequired | id (picked from your account) | Collection |
collection_fieldsrequired | object (depends on other props) | Collection Fields |
is_archivedoptional | boolean | Whether the item is archived or not |
is_draftoptional | boolean | Whether the item is a draft or not |
custom_api_call
Custom API Call. Make a custom API call to a specific endpoint
| Input | Type | Description |
|---|---|---|
urlrequired | object (depends on other props) | url |
methodrequired | one of "GET" | "POST" | "PATCH" | "PUT" | "DELETE" | "HEAD" | Method |
headersrequired | object | Authorization headers are injected automatically from your connection. |
queryParamsrequired | object | Query Parameters |
body_typeoptional | one of "none" | "json" | "form_data" | "raw" | Body Type |
bodyoptional | object (depends on other props) | Body |
response_is_binaryoptional | boolean | Enable for files like PDFs, images, etc. |
failsafeoptional | boolean | No Error on Failure |
timeoutoptional | number | Timeout (in seconds) |
followRedirectsoptional | boolean | Follow redirects |
delete_collection_item
Delete an item in a collection. Delete collection item
| Input | Type | Description |
|---|---|---|
site_idrequired | id (picked from your account) | Site |
collection_idrequired | id (picked from your account) | Collection |
collection_item_idrequired | id (picked from your account) | Collection Item |
find_order
Find an order. Find order
| Input | Type | Description |
|---|---|---|
site_idrequired | id (picked from your account) | Site |
order_idrequired | id (picked from your account) | Order |
fulfill_order
Fulfill an order. Fulfill order
| Input | Type | Description |
|---|---|---|
site_idrequired | id (picked from your account) | Site |
order_idrequired | id (picked from your account) | Order |
send_order_fulfilled_emailoptional | boolean | Send 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
| Input | Type | Description |
|---|---|---|
site_idrequired | id (picked from your account) | Site |
collection_idrequired | id (picked from your account) | Collection |
collection_item_idrequired | id (picked from your account) | Collection Item |
refund_order
Refund an order. Refund order
| Input | Type | Description |
|---|---|---|
site_idrequired | id (picked from your account) | Site |
order_idrequired | id (picked from your account) | Order |
unfulfill_order
Unfulfill an order. Unfulfill order
| Input | Type | Description |
|---|---|---|
site_idrequired | id (picked from your account) | Site |
order_idrequired | id (picked from your account) | Order |
update_collection_item
Update an item in a collection. Update collection item
| Input | Type | Description |
|---|---|---|
site_idrequired | id (picked from your account) | Site |
collection_idrequired | id (picked from your account) | Collection |
collection_item_idrequired | id (picked from your account) | Collection Item |
collection_fieldsrequired | object (depends on other props) | Collection Fields |
is_archivedoptional | boolean | Whether the item is archived or not |
is_draftoptional | boolean | Whether 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- Tier
- Built in