MCP tools
340 tools, generated from tools/list: this list is always what the server offers.
How to call them
POST /api/v1/mcp/ (JSON-RPC 2.0) with Authorization: Bearer <API key>: tools/list lists them and tools/call runs one with {"name", "arguments"}. Every tool except escalateflow_projects_* takes project_id; start with escalateflow_projects_list. Tools marked DEPRECATED still work and name their replacement. Setup: Agent & MCP.
projects
escalateflow_projects_list
List your EscalateFlow projects (websites) with their project_id, name and public URL. Call this first to get the project_id the other tools need.
escalateflow_projects_create
Create a new project (website). It is live right away at https://<subdomain>.escalateflow.com; then add pages with escalateflow_page_create_from_template and publish them.
| Parameter | Type | Required | Description |
|---|---|---|---|
name | string | yes | Project / business name |
subdomain | string | no | Optional: lowercase letters, numbers and hyphens. Picked from the name (and made unique) when omitted. |
language | string | no | Optional site language code (es, en, fr, de, es-ES...). Default: es. Used for the storefront, cart, account and system pages. |
form
escalateflow_form_create
Create a new form with optional fields
| Parameter | Type | Required | Description |
|---|---|---|---|
mode | string | no | Form mode One of: single, multistep. |
steps | array | no | Ordered steps [{key, title, conditions}]; fields may specify step |
name | string | yes | Form name (e.g., 'Contact Form') |
fields | array | no | List of field definitions {name, label, field_type, required, placeholder, options, autocomplete}. `name` must equal the name="..." of the input in the page HTML (defaults to the slugified label) |
submit_button_text | string | no | Submit button text Default: Submit. |
success_message | string | no | Message shown after submission |
redirect_url | string | no | URL to redirect after submission |
url_prefill | boolean | no | Allow browser-only email/name defaults from the page URL Default: True. |
escalateflow_form_add_field
Add a field to an existing form
| Parameter | Type | Required | Description |
|---|---|---|---|
form_id | string | yes | Form ID to add field to |
label | string | yes | Field label |
name | string | no | Field name = the input's name attribute in the page HTML (default: slugified label) |
field_type | string | yes | Field type (tel is accepted as phone) One of: text, email, phone, number, textarea, select, checkbox, radio, hidden, date, url. |
placeholder | string | no | Placeholder text |
autocomplete | string | no | Standard browser autocomplete hint; blank infers it from the field |
required | boolean | no | Is field required Default: False. |
options | array | no | Options for select/radio/checkbox |
step | integer | no | Zero-based step index; omitted uses the last step |
conditions | object | no | Visibility: {all: [{field, op, value}]} or {any: [...]} using earlier steps |
escalateflow_form_update
Update form settings and ordered steps. Keep step keys when renaming or reordering; deleting occupied steps requires field_steps assignments.
| Parameter | Type | Required | Description |
|---|---|---|---|
form_id | string | yes | Form ID to update |
steps | array | no | Complete ordered steps [{key, title, description, conditions}]; omitted steps are deleted |
field_steps | object | no | Field name to zero-based destination index, e.g. {email: 2} |
mode | string | no | Form mode One of: single, multistep. |
name | string | no | New form name |
submit_button_text | string | no | New submit button text |
success_message | string | no | New success message |
redirect_url | string | no | New redirect URL |
is_active | boolean | no | Form active status |
url_prefill | boolean | no | Allow browser-only email/name defaults from the page URL |
escalateflow_form_delete
Delete a form
| Parameter | Type | Required | Description |
|---|---|---|---|
form_id | string | yes | Form ID to delete |
escalateflow_form_list
List all forms for the website
| Parameter | Type | Required | Description |
|---|---|---|---|
active_only | boolean | no | Only return active forms Default: True. |
escalateflow_form_get
Get form details including fields
| Parameter | Type | Required | Description |
|---|---|---|---|
form_id | string | yes | Form ID to retrieve |
escalateflow_form_analytics
Get form performance analytics (conversion rate, field dropoff, UTM attribution)
| Parameter | Type | Required | Description |
|---|---|---|---|
form_id | string | yes | Form ID to analyze |
days | integer | no | Number of days to analyze Default: 30. |
escalateflow_form_submissions
DEPRECATED (removed 2026-12-14): use escalateflow_submission_list (same data). List recent form submissions with full data
| Parameter | Type | Required | Description |
|---|---|---|---|
form_id | string | yes | Form ID |
limit | integer | no | Number of submissions to return Default: 20. |
is_bot | boolean | no | Filter by bot flag: false = humans only, true = bots only |
escalateflow_form_set_redirect_rules
Set conditional redirect rules for a form (first match wins after submission)
| Parameter | Type | Required | Description |
|---|---|---|---|
form_id | string | yes | Form ID |
rules | array | yes | List of rules: [{field, operator, value, redirect}]. Operators: eq, neq, gt, lt, gte, lte, contains, empty, not_empty |
escalateflow_form_list_versions
List content version history for a form
| Parameter | Type | Required | Description |
|---|---|---|---|
form_id | string | yes | Form ID |
escalateflow_form_restore_version
Restore a form to a previous version
| Parameter | Type | Required | Description |
|---|---|---|---|
form_id | string | yes | Form ID |
version_id | string | yes | Version ID to restore |
escalateflow_form_diff_versions
Compare two versions of a form field-by-field
| Parameter | Type | Required | Description |
|---|---|---|---|
form_id | string | yes | Form ID |
version_a | string | yes | First version ID |
version_b | string | yes | Second version ID |
escalateflow_form_get_schema
Get the multi-step schema of a form: steps, fields with step/conditions/score, scoring segments and conditional redirect rules
| Parameter | Type | Required | Description |
|---|---|---|---|
form_id | string | yes | Form ID |
escalateflow_form_set_schema
Replace the schema of a form (validated; fields matched by name, removed ones deactivated). Use mode='multistep'. Conditions may only reference fields of earlier steps. redirect_rules can test '$score' and '$segment'.
| Parameter | Type | Required | Description |
|---|---|---|---|
form_id | string | yes | Form ID |
schema | object | yes | Full schema: {mode, steps, fields, scoring, redirect_rules} |
escalateflow_form_list_sessions
List multi-step form sessions (partial and completed leads) with score, segment and attribution. Bots, spam and test sessions are excluded unless requested.
| Parameter | Type | Required | Description |
|---|---|---|---|
form_id | string | yes | Form ID |
include_test | boolean | no | Include test sessions (default false) |
is_test | boolean | no | Filter only test or only real sessions |
status | string | no | Comma list: started,in_progress,completed,abandoned |
segment | string | no | Comma list of segment keys |
qualified | string | no | true or false |
min_score | integer | no | Minimum score |
utm_source | string | no | Filter by first-touch utm_source |
since | string | no | ISO date/datetime (started at or after) |
limit | integer | no | Max rows (default 50, max 200) |
escalateflow_form_update_session
Mark or unmark a form session and its linked submission as test data. Test sessions do not count in statistics; changing the flag does not resend events.
| Parameter | Type | Required | Description |
|---|---|---|---|
form_id | string | yes | Form ID |
session_id | string | yes | Session ID |
is_test | boolean | yes | Whether this is test data |
escalateflow_form_funnel
Funnel of a multi-step form: views, starts, per-step completions and drop-offs, submits, qualified leads and segments (bots excluded)
| Parameter | Type | Required | Description |
|---|---|---|---|
form_id | string | yes | Form ID |
since | string | no | ISO date/datetime |
until | string | no | ISO date/datetime |
escalateflow_form_get_trial
Trial funnel of a form: trial product, readiness problems (what is missing for it to work), lead counts per state (lead/trial/converted/canceled/unsubscribed) and leads
| Parameter | Type | Required | Description |
|---|---|---|---|
form_id | string | yes | Form ID |
state | string | no | Only leads in this state |
limit | integer | no | Max leads (default 50, max 200) |
escalateflow_form_set_trial
Attach a subscription product with trial_days to a form (or null to detach). After submit with marketing_consent the visitor goes to a signed trial page that opens Stripe Checkout. Needs form fields 'email' and 'marketing_consent'.
| Parameter | Type | Required | Description |
|---|---|---|---|
form_id | string | yes | Form ID |
trial_product_id | string | no | Product ID (subscription, trial_days >= 1) or null |
trial_email_sequence | array | no | Optional, max 3 {template_id, smtp_id}; sandbox SMTP only |
escalateflow_form_give_access
On submit, the submitter becomes a site user of this website with a member tier (for `days`, 0 = no end) and / or a group, and gets a one-time sign-in link to `next`. Gate pages with access_level 'tiers' + allowed_tiers (or allowed_groups). One per form: calling it again updates it; enabled=false turns it off.
| Parameter | Type | Required | Description |
|---|---|---|---|
form_id | string | yes | Form ID |
tier | string | no | Member tier slug (members tier_create) |
days | integer | no | Days of access (0 = no end) Default: 0. |
group | string | no | Site user group slug (site_users group_create) |
email_field | string | no | Form field with the email Default: email. |
name_field | string | no | Form field with the name |
send_login_link | boolean | no | Email a sign-in link Default: True. |
next | string | no | Where the sign-in link lands, e.g. /curso/ Default: /. |
enabled | boolean | no | false = turn the access action off Default: True. |
escalateflow_form_set_double_opt_in
Double opt-in for this form: on submit the person gets a confirmation email, and the sign-up is complete only when they click its link. Until then the owner notification, the form's other actions, webhooks and conversion goals wait. The proof (when it was requested and confirmed, from which truncated address) is kept in the submission's metadata.double_opt_in. One per form: calling it again updates it; enabled=false turns it off.
| Parameter | Type | Required | Description |
|---|---|---|---|
form_id | string | yes | Form ID |
email_field | string | no | Form field with the email Default: email. |
subject | string | no | Subject of the confirmation email ({site} = the website's name) |
intro | string | no | Paragraph above the button, plain text ({site} = the website's name) |
redirect | string | no | Path of the site to open after confirming, e.g. /gracias/ (?ef_confirmed=<event id> is added) |
days | integer | no | Days the link works (1-90) Default: 30. |
language | string | no | Language of the confirmation email and pages: es, en or fr. Leave it out to use the website's language |
enabled | boolean | no | false = turn double opt-in off Default: True. |
escalateflow_form_list_conversion_rules
Conversion rules of a form: which conversion event it reports to ad platforms, to which destination, at which moment and under which conditions. A form without rules reports one Lead when the lead is complete; with rules, only what they say. Also returns the ready-made templates.
| Parameter | Type | Required | Description |
|---|---|---|---|
form_id | string | yes | Form ID |
escalateflow_form_set_conversion_rule
Add a conversion rule to a form, or change one (with rule_id). The event is reported to the page's pixel and to the ad platforms connected to the account with the same event id, so it is counted once; never without the advertising consent the website asks for. What does not pass the conditions is simply not sent; the lead is always stored. Conditions read this form's fields, its score / segment / qualified, and the same of a linked form with the prefix linked. (e.g. linked.perfil).
| Parameter | Type | Required | Description |
|---|---|---|---|
form_id | string | yes | Form ID |
rule_id | string | no | Rule to change (leave it out to add a new one) |
event | string | no | lead, complete_registration, subscribe, purchase, contact, schedule, start_trial, view_content, sign_up, or a custom name |
when | string | no | submit = when the form arrives; confirm = when the person confirms the double opt-in email One of: submit, confirm. |
destinations | array | no | Where: ["pixel", "server"] (default both). server = the ad platforms connected to the account |
conditions | object | no | Send only if: {"all": [{field, op, value}]} or {"any": [...]}. Operators: eq, neq, in, not_in, gt, gte, lt, lte, contains, not_contains, empty, not_empty |
linked_form_id | string | no | Another form of the website whose answers the conditions may use (a survey after the sign-up) |
if_no_answer | string | no | When the conditions need the linked form and it was not answered: send or skip One of: send, skip. |
wait_minutes | integer | no | Minutes to wait for the linked form's answer before applying if_no_answer (0-1440, default 0) |
value | number | no | Value of the event (optional) |
currency | string | no | 3-letter currency of the value (default EUR) |
value_rules | array | no | Value by score or segment: [{"if": <conditions>, "value": n}], first match wins |
name | string | no | Name of the rule |
enabled | boolean | no | false = keep the rule but turn it off Default: True. |
escalateflow_form_delete_conversion_rule
Delete a conversion rule of a form.
| Parameter | Type | Required | Description |
|---|---|---|---|
form_id | string | yes | Form ID |
rule_id | string | yes | Rule ID |
escalateflow_form_conversion_history
What the form's conversion rules did with one lead: for each rule, whether its event was sent, where, with which id and value, and the reason.
| Parameter | Type | Required | Description |
|---|---|---|---|
submission_id | string | yes | Submission ID |
page
escalateflow_page_update
Update page settings (not content)
| Parameter | Type | Required | Description |
|---|---|---|---|
page_id | string | yes | Page ID to update |
title | string | no | New page title |
slug | string | no | New URL slug |
meta_title | string | no | SEO title of the page (max 120; the site's title suffix is added) |
meta_description | string | no | New meta description (max 320) |
canonical_url | string | no | Canonical URL, only when the page duplicates another one (max 500) |
is_indexed | boolean | no | false = noindex and out of the sitemap |
include_in_sitemap | boolean | no | List the page in /sitemap.xml |
status | string | no | Page status One of: draft, published. |
show_in_menu | boolean | no | Show in navigation menu |
is_standalone | boolean | no | Ads/campaign landing: served only at /{landing_prefix}/{slug}/ (default /lp/), without header, footer or menu, outside the sitemap; never the homepage nor under a parent |
inherit_site_styles | boolean | no | Use the website's styles on this page (default true). false = the page keeps only its own design: none of the CSS / fonts copied from the homepage, no global CSS, no site header or footer; as homepage its head is not copied to the website |
access_level | string | no | Who can see the page: 'password' = a visitor password (send password), the others need signed-in site users One of: public, password, members, customers, contributors, editors, admins, paid, tiers. |
password | string | no | Page password (access_level password, min 4 chars) |
allowed_groups | array | no | Site user group slugs (any of them) |
allowed_tiers | array | no | Member tier slugs (access_level tiers) |
scheduled_publish_at | string | no | ISO 8601 datetime to auto-publish a draft (must be in the future); null clears it |
scheduled_unpublish_at | string | no | ISO 8601 datetime to auto-unpublish a published page (must be after scheduled_publish_at); null clears it |
escalateflow_page_embed_form
Embed a form into a page
| Parameter | Type | Required | Description |
|---|---|---|---|
page_id | string | yes | Page ID to embed form in |
form_id | string | yes | Form ID to embed |
position | string | no | Where to embed One of: after_hero, before_footer, replace_cta, new_section. Default: after_hero. |
section_title | string | no | Title for the form section |
escalateflow_page_delete
Delete a page
| Parameter | Type | Required | Description |
|---|---|---|---|
page_id | string | yes | Page ID to delete |
escalateflow_page_list
List all pages for the website
| Parameter | Type | Required | Description |
|---|---|---|---|
status | string | no | Filter by status One of: draft, published, all. |
is_standalone | boolean | no | true = only ads/campaign landings (/{landing_prefix}/{slug}/), false = only normal pages |
is_homepage | boolean | no | true = only the homepage |
escalateflow_page_get
Get page details
| Parameter | Type | Required | Description |
|---|---|---|---|
page_id | string | no | Page ID to retrieve |
slug | string | no | Page slug to retrieve |
is_standalone | boolean | no | With slug: only a standalone landing (true) or only a normal page (false) |
escalateflow_page_list_versions
List content version snapshots for a page
| Parameter | Type | Required | Description |
|---|---|---|---|
page_id | string | yes | Page ID |
escalateflow_page_restore_version
Restore a page to a previous content version
| Parameter | Type | Required | Description |
|---|---|---|---|
page_id | string | yes | Page ID |
version_id | string | yes | Version ID to restore |
escalateflow_page_diff_versions
Compare two versions of a page field-by-field
| Parameter | Type | Required | Description |
|---|---|---|---|
page_id | string | yes | Page ID |
version_a | string | yes | First version ID |
version_b | string | yes | Second version ID |
escalateflow_page_list_templates
List available page templates (ecommerce-product, blog-post, service-page, landing-page, shop-homepage)
escalateflow_page_create_from_template
Create a new page from a block template with default blocks pre-populated
| Parameter | Type | Required | Description |
|---|---|---|---|
template | string | yes | Template ID (e.g. ecommerce-product, blog-post) |
slug | string | yes | URL slug for the page |
title | string | no | Page title |
is_homepage | boolean | no | If true, make this page the site homepage (served at /) |
is_standalone | boolean | no | Ads/campaign landing: served only at /{landing_prefix}/{slug}/ (default /lp/), without header, footer or menu, outside the sitemap; never the homepage nor under a parent |
escalateflow_page_set_homepage
Set an existing page as the site homepage (served at /). Unsets any previous homepage.
| Parameter | Type | Required | Description |
|---|---|---|---|
page_id | string | yes | Page ID to set as homepage |
escalateflow_page_get_blocks
Get all content blocks for a page
| Parameter | Type | Required | Description |
|---|---|---|---|
page_id | string | yes | Page ID |
escalateflow_page_update_block
Update a block: the keys of content (and config) you send are merged into the block's (one level deep, like REST PATCH); replace=true replaces them entirely
| Parameter | Type | Required | Description |
|---|---|---|---|
page_id | string | yes | Page ID |
block_id | string | yes | Block ID within the page (e.g. hero, cta_1) |
content | object | no | Content keys to change |
config | object | no | Config keys to change |
replace | boolean | no | Replace content/config instead of merging Default: False. |
escalateflow_page_list_block_types
Block types you can add (add_block), with their content fields; same as GET /api/v1/block-types/
escalateflow_page_add_block
Add a new block to a page
| Parameter | Type | Required | Description |
|---|---|---|---|
page_id | string | yes | Page ID |
type | string | yes | Block type: escalateflow_page_list_block_types lists them with their content fields (e.g. html, rich_text, form, cta_banner, product_faq) |
content | object | no | Block content |
config | object | no | Block config |
position | string | no | Position: 'after:block_id' or 'before:block_id' |
escalateflow_page_remove_block
Remove a block from a page
| Parameter | Type | Required | Description |
|---|---|---|---|
page_id | string | yes | Page ID |
block_id | string | yes | Block ID to remove |
product
escalateflow_product_create
Create a new product. Idempotent: if the shop already has a product with this sku (or, without a sku, this slug / the slug of the name) it is returned with already_existed=true and nothing is created, so retrying is safe. Give each distinct product its own sku. The shop (Beta) is part of the Scale plan: on a smaller plan this is refused with type 'plan_limit' and required_plan 'scale'.
| Parameter | Type | Required | Description |
|---|---|---|---|
name | string | yes | Product name |
slug | string | no | URL slug (default: from the name) |
price | number | yes | Product price |
description | string | no | Product description |
short_description | string | no | Brief description (1-2 sentences) |
image_url | string | no | Product image URL |
category_id | string | no | Category ID |
category_name | string | no | Category name (creates if doesn't exist) |
sku | string | no | Stock keeping unit |
stock_quantity | integer | no | Available stock Default: 0. |
compare_at_price | number | no | Original price (for sale display) |
is_featured | boolean | no | Featured product Default: False. |
features | array | no | List of product features |
complementary_product_ids | array | no | Hasta 8 IDs de productos de la misma web para «Complétalo con» (#188) |
vendor | string | no | Brand / manufacturer (shown on the product page and in JSON-LD) |
barcode | string | no | EAN / UPC / GTIN |
product_type | string | no | Product type |
tags | array | no | Tags (list of strings) |
attributes | object | no | Filterable attributes, e.g. {"color": "red", "ram_gb": 16} |
technical_specs | object | no | Specifications table, e.g. {"Socket": "AM5"} |
faq | array | no | FAQ: list of {question, answer} |
care_instructions | string | no | Care instructions |
size_guide | string | no | Size guide (HTML allowed: tables) |
meta_title | string | no | SEO title |
meta_description | string | no | SEO description |
track_inventory | boolean | no | Track stock (defaults to true when stock_quantity is given) |
allow_backorder | boolean | no | Sell when out of stock |
requires_shipping | boolean | no | false for products only delivered online (course, downloads, access): a cart of them asks no address and pays no shipping |
kind | string | no | What is sold: physical | digital | course | membership | service, or auto to let the platform derive it from the product (its access grants, download files and shipping). Setting a kind other than physical also turns shipping off unless requires_shipping is sent One of: physical, digital, course, membership, service, auto. |
weight | number | no | Weight |
gallery | array | no | Extra image URLs (gallery under the main image) |
variants | array | no | Variants: list of {name, price, sku, stock_quantity, attributes, image_url, compare_at_price, metafields} |
metafields | object | no | Typed custom fields {"specs.ram": 16} (define them first with escalateflow_metafields_define; null deletes one) |
escalateflow_product_create_category
Create a product category
| Parameter | Type | Required | Description |
|---|---|---|---|
name | string | yes | Category name |
parent_id | string | no | Parent category ID (for a subcategory) |
parent_name | string | no | Parent category name or slug (for a subcategory) |
description | string | no | Category description |
image_url | string | no | Category image URL |
featured_on_homepage | boolean | no | Show on homepage Default: False. |
escalateflow_product_update
Update product details
| Parameter | Type | Required | Description |
|---|---|---|---|
product_id | string | yes | Product ID to update |
name | string | no | New product name |
price | number | no | New price |
description | string | no | New description |
image_url | string | no | New image URL |
category_id | string | no | New category ID |
stock_quantity | integer | no | New stock quantity |
is_active | boolean | no | Active status |
is_featured | boolean | no | Featured status |
short_description | string | no | New brief description |
compare_at_price | number | no | Original price (sale display); null clears it |
sku | string | no | Stock keeping unit |
features | array | no | List of product features |
complementary_product_ids | array | no | Hasta 8 IDs de productos de la misma web para «Complétalo con» (#188) |
vendor | string | no | Brand / manufacturer (shown on the product page and in JSON-LD) |
barcode | string | no | EAN / UPC / GTIN |
product_type | string | no | Product type |
tags | array | no | Tags (list of strings) |
attributes | object | no | Filterable attributes, e.g. {"color": "red", "ram_gb": 16} |
technical_specs | object | no | Specifications table, e.g. {"Socket": "AM5"} |
faq | array | no | FAQ: list of {question, answer} |
care_instructions | string | no | Care instructions |
size_guide | string | no | Size guide (HTML allowed: tables) |
meta_title | string | no | SEO title |
meta_description | string | no | SEO description |
track_inventory | boolean | no | Track stock (defaults to true when stock_quantity is given) |
allow_backorder | boolean | no | Sell when out of stock |
requires_shipping | boolean | no | false for products only delivered online (course, downloads, access): a cart of them asks no address and pays no shipping |
kind | string | no | What is sold: physical | digital | course | membership | service, or auto to let the platform derive it from the product (its access grants, download files and shipping). Setting a kind other than physical also turns shipping off unless requires_shipping is sent One of: physical, digital, course, membership, service, auto. |
weight | number | no | Weight |
gallery | array | no | Replace the gallery with these image URLs |
metafields | object | no | Typed custom fields {"specs.ram": 16} (define them first with escalateflow_metafields_define; null deletes one) |
escalateflow_product_delete
Delete a product
| Parameter | Type | Required | Description |
|---|---|---|---|
product_id | string | yes | Product ID to delete |
escalateflow_product_list
List products
| Parameter | Type | Required | Description |
|---|---|---|---|
category_id | string | no | Filter by category |
featured_only | boolean | no | Only featured products |
active_only | boolean | no | Only active products Default: True. |
search | string | no | Find by name, sku, slug or text (look a product up before creating it) |
kind | string | no | Only products of this kind One of: physical, digital, course, membership, service. |
limit | integer | no | Max products to return Default: 50. |
offset | integer | no | Skip this many (paging; total is in count) Default: 0. |
escalateflow_product_list_categories
List product categories
| Parameter | Type | Required | Description |
|---|---|---|---|
active_only | boolean | no | Only active categories Default: True. |
escalateflow_product_list_versions
List content version history for a product
| Parameter | Type | Required | Description |
|---|---|---|---|
product_id | string | yes | Product ID |
escalateflow_product_restore_version
Restore a product to a previous version
| Parameter | Type | Required | Description |
|---|---|---|---|
product_id | string | yes | Product ID |
version_id | string | yes | Version ID to restore |
escalateflow_product_diff_versions
Compare two versions of a product field-by-field
| Parameter | Type | Required | Description |
|---|---|---|---|
product_id | string | yes | Product ID |
version_a | string | yes | First version ID |
version_b | string | yes | Second version ID |
blog
escalateflow_blog_create_post
Create a new blog post
| Parameter | Type | Required | Description |
|---|---|---|---|
title | string | yes | Post title |
content | string | yes | Post HTML content |
excerpt | string | no | Short summary for listings |
category_id | string | no | Category UUID |
category_name | string | no | Category name (creates if needed) |
author_name | string | no | Author display name |
featured_image_url | string | no | Featured image URL |
is_published | boolean | no | Publish immediately Default: False. |
is_featured | boolean | no | Mark as featured Default: False. |
tags | array | no | List of tag strings |
meta_title | string | no | SEO title (max 70 chars) |
meta_description | string | no | SEO description (max 160 chars) |
access_level | string | no | Who can read the whole post (others get the paywall: the content up to <!--members-only--> + a CTA) One of: public, members, customers, paid, tiers. |
allowed_tiers | array | no | Member tier slugs for access_level 'tiers' |
allowed_groups | array | no | Group slugs that can read the post |
paywall_cta | object | no | Paywall box override: {title, text, button_text, button_url} |
escalateflow_blog_update_post
Update an existing blog post
| Parameter | Type | Required | Description |
|---|---|---|---|
post_id | string | yes | Post ID to update |
title | string | no | New title |
content | string | no | New HTML content |
excerpt | string | no | New excerpt |
category_id | string | no | New category UUID |
is_published | boolean | no | Published status |
is_featured | boolean | no | Featured status |
tags | array | no | New tag list |
scheduled_publish_at | string | no | ISO 8601 datetime to auto-publish a draft (must be in the future); null clears it. Cleared automatically on manual publish. |
scheduled_unpublish_at | string | no | ISO 8601 datetime to auto-unpublish a published post (must be after scheduled_publish_at); null clears it. |
meta_title | string | no | New SEO title |
meta_description | string | no | New SEO description |
access_level | string | no | Who can read the whole post (others get the paywall: the content up to <!--members-only--> + a CTA) One of: public, members, customers, paid, tiers. |
allowed_tiers | array | no | Member tier slugs for access_level 'tiers' |
allowed_groups | array | no | Group slugs that can read the post |
paywall_cta | object | no | Paywall box override: {title, text, button_text, button_url} |
escalateflow_blog_delete_post
Delete a blog post
| Parameter | Type | Required | Description |
|---|---|---|---|
post_id | string | yes | Post ID to delete |
escalateflow_blog_list_posts
List blog posts for the website
| Parameter | Type | Required | Description |
|---|---|---|---|
published_only | boolean | no | Only published posts Default: False. |
category_id | string | no | Filter by category UUID |
featured_only | boolean | no | Only featured posts Default: False. |
limit | integer | no | Max results Default: 25. |
escalateflow_blog_create_category
Create a blog category
| Parameter | Type | Required | Description |
|---|---|---|---|
name | string | yes | Category name |
description | string | no | Category description |
image_url | string | no | Category image URL |
escalateflow_blog_list_categories
List blog categories
| Parameter | Type | Required | Description |
|---|---|---|---|
active_only | boolean | no | Only active categories Default: True. |
escalateflow_blog_update_category
Edit a blog category (name, slug, description, order, image, active). Changing the slug adds a 301 from the old category URL to the new one (#242).
| Parameter | Type | Required | Description |
|---|---|---|---|
category_id | string | yes | Category UUID |
name | string | no | New name |
slug | string | no | New slug (unique in this project) |
description | string | no | Description |
display_order | integer | no | Sort order (>= 0) |
image_url | string | no | Image URL |
is_active | boolean | no | Visible on the site |
escalateflow_blog_delete_category
Delete a blog category WITHOUT losing its posts: posts='uncategorize' (default) leaves them with no category; posts='reassign' with to=<category id of this project> moves them. The category URL then 301s to /blog/ or to the target (#242).
| Parameter | Type | Required | Description |
|---|---|---|---|
category_id | string | yes | Category UUID |
posts | string | no | uncategorize (default) | reassign |
to | string | no | Target category UUID when posts=reassign |
escalateflow_blog_update_settings
Update blog settings (auto-enables blog)
| Parameter | Type | Required | Description |
|---|---|---|---|
blog_title | string | no | Blog title |
blog_description | string | no | Blog description |
posts_per_page | integer | no | Posts per page |
show_author | boolean | no | Show author on posts |
show_date | boolean | no | Show date on posts |
show_reading_time | boolean | no | Show reading time |
show_categories | boolean | no | Show categories |
show_tags | boolean | no | Show tags |
show_featured_image | boolean | no | Show featured image |
paywall_title | string | no | Paywall box title (empty = default in the site's language) |
paywall_text | string | no | Paywall box text |
paywall_button_text | string | no | Paywall button label |
paywall_button_url | string | no | Paywall button link (empty = tier checkout links / sign up) |
escalateflow_blog_get_settings
Get current blog settings
escalateflow_blog_list_versions
List content version history for a blog post
| Parameter | Type | Required | Description |
|---|---|---|---|
post_id | string | yes | Blog post ID |
escalateflow_blog_restore_version
Restore a blog post to a previous version
| Parameter | Type | Required | Description |
|---|---|---|---|
post_id | string | yes | Blog post ID |
version_id | string | yes | Version ID to restore |
escalateflow_blog_diff_versions
Compare two versions of a blog post field-by-field
| Parameter | Type | Required | Description |
|---|---|---|---|
post_id | string | yes | Blog post ID |
version_a | string | yes | First version ID |
version_b | string | yes | Second version ID |
website
escalateflow_website_get
Get website details including settings, domain, and style config
escalateflow_website_update_settings
Update website settings (name, SEO, scripts, homepage type, etc.)
| Parameter | Type | Required | Description |
|---|---|---|---|
name | string | no | Website name |
global_head_scripts | string | no | Scripts injected into <head> of all pages |
homepage_type | string | no | Homepage type One of: page, blog, shop. |
landing_prefix | string | no | URL prefix for landing pages |
default_meta_title_suffix | string | no | Appended to every page <title> (e.g. ' | My Brand'), max 50 |
default_meta_description | string | no | Fallback meta description for pages without their own, max 160 |
og_image_url | string | no | Default Open Graph image URL (social shares) |
logo_url | string | no | Brand logo URL |
favicon_url | string | no | Favicon URL |
default_language | string | no | Default language code (e.g. 'es', 'en-GB'): <html lang> and og:locale |
robots_txt | string | no | Custom robots.txt content |
sitemap_enabled | boolean | no | Serve /sitemap.xml (default true) |
footer_scripts | string | no | HTML/JS injected before </body> on all pages |
meta_title | string | no | Old name of default_meta_title_suffix (kept working) |
meta_description | string | no | Old name of default_meta_description (kept working) |
escalateflow_website_update_style_kit
Older, smaller form of the theme: prefer escalateflow_theme_update (every theme key). Updates brand colors, fonts, button style
| Parameter | Type | Required | Description |
|---|---|---|---|
primary_color | string | no | Primary brand color (hex, e.g., #3B82F6) |
secondary_color | string | no | Secondary color (hex) |
accent_color | string | no | Accent color (hex) |
text_color | string | no | Body text color (hex) |
background_color | string | no | Page background color (hex) |
heading_font | string | no | Heading font family |
body_font | string | no | Body font family |
border_radius | string | no | Default border radius (e.g., '8px') |
button_style | string | no | Button style One of: rounded, pill, square. |
escalateflow_website_get_style_kit
Get the current website style kit configuration
escalateflow_website_set_consent
Cookie consent banner. mode 'required': third-party scripts (head / footer scripts, Tag Manager, GA4, pixels) are not loaded until the visitor accepts the banner; 'off': scripts load as usual. Without parameters it returns the current state. Mark a script that needs no consent with the attribute data-ef-necessary.
| Parameter | Type | Required | Description |
|---|---|---|---|
mode | string | no | off | required One of: off, required. |
policy_url | string | no | Link shown in the banner: a path of the website (/cookies/) or an http(s) URL. Default: the cookie policy of the legal pages |
escalateflow_website_set_test_traffic
The website's own test traffic, never counted in its analytics, experiments or leads nor reported to ad platforms: IP addresses or networks, email patterns (* = anything, e.g. *@example.com, test+*@my-domain.com) and utm_source values. Each list given replaces the current one ([] empties it); without parameters it returns the current lists. Any browser can also turn on test mode by opening a page of the website with ?ef_notrack=1.
| Parameter | Type | Required | Description |
|---|---|---|---|
ips | array | no | IP addresses or networks (203.0.113.7, 203.0.113.0/24) |
emails | array | no | Email patterns (*@example.com) |
sources | array | no | utm_source values (prueba) |
escalateflow_website_set_tracking
Set tracking & site-verification integrations (GSC, Bing, GTM, GA4, FB/TikTok pixels). Pass the bare ID/token OR the full official tag/snippet — the value is extracted automatically. Rendered into <head> on every page at request time, so they survive AI regeneration and page edits. Pass an empty string to remove an integration. Omitted keys are untouched.
| Parameter | Type | Required | Description |
|---|---|---|---|
google_site_verification | string | no | Google Search Console verification token (or full meta tag) |
bing_site_verification | string | no | Bing msvalidate.01 token (or full meta tag) |
gtm_container_id | string | no | Google Tag Manager container ID, e.g. GTM-XXXXXXX (or full snippet) |
ga4_measurement_id | string | no | Google Analytics 4 measurement ID, e.g. G-XXXXXXXXXX (or full snippet) |
facebook_pixel_id | string | no | Facebook/Meta Pixel ID (digits, or full snippet) |
tiktok_pixel_id | string | no | TikTok Pixel ID (or full snippet) |
escalateflow_website_get_tracking
Get the current tracking & verification config (GSC, Bing, GTM, GA4, pixels)
escalateflow_website_get_chrome
Get site chrome (navbar, footer, global head HTML, global CSS)
escalateflow_website_set_chrome
Update site chrome (navbar, footer, global head HTML, global CSS)
| Parameter | Type | Required | Description |
|---|---|---|---|
navbar_html | string | no | Navbar HTML |
footer_html | string | no | Footer HTML |
global_head_html | string | no | Global head HTML (fonts, analytics) |
global_css | string | no | Global CSS for all pages |
header_enabled | boolean | no | false = no site header on any page (a page with its own header); true = the navbar_html, or a default header with the site name when it is empty |
footer_enabled | boolean | no | false = no site footer on any page |
experiment
escalateflow_experiment_create
Create an A/B/n test with 2–6 pages and integer weights totaling 100
| Parameter | Type | Required | Description |
|---|---|---|---|
name | string | yes | Experiment name |
control_page_id | string | no | Control (A) landing page ID (legacy two-page input) |
variant_page_id | string | no | Variant (B) landing page ID (legacy two-page input) |
description | string | no | Experiment description |
variants | array | no | Active variants [{landing_id, weight, key?}], 2–6 pages, weights total 100. First page is control on creation. On update keep existing keys; omit removed variants (paused, historical visitors see control). |
variant_weight | integer | no | Traffic % for variant (1-99) Default: 50. |
goal_type | string | no | Primary goal type One of: form_submit, click, time_on_page, scroll_depth, custom_event, card_trial. |
goal_name | string | no | Primary goal name |
goal_config | object | no | Goal configuration (e.g., {"selector": "#cta"}) |
escalateflow_experiment_start
Start a draft experiment (begins serving variants)
| Parameter | Type | Required | Description |
|---|---|---|---|
experiment_id | string | yes | Experiment ID to start |
escalateflow_experiment_pause
Pause a running experiment
| Parameter | Type | Required | Description |
|---|---|---|---|
experiment_id | string | yes | Experiment ID to pause |
escalateflow_experiment_complete
End the experiment. With winner='variant' or 'control' the winning version is served to everyone on the original URL.
| Parameter | Type | Required | Description |
|---|---|---|---|
experiment_id | string | yes | Experiment ID |
winner | string | no | Active variant key to serve to everyone (omit to end without a winner) |
escalateflow_experiment_get_results
Get experiment results including pageviews, conversions, and winner
| Parameter | Type | Required | Description |
|---|---|---|---|
experiment_id | string | yes | Experiment ID |
escalateflow_experiment_update
Update an experiment. While running, only variants can change; existing visitor assignments stay stable.
| Parameter | Type | Required | Description |
|---|---|---|---|
experiment_id | string | yes | Experiment ID |
name | string | no | New name |
description | string | no | New description |
variants | array | no | Active variants [{landing_id, weight, key?}], 2–6 pages, weights total 100. First page is control on creation. On update keep existing keys; omit removed variants (paused, historical visitors see control). |
variant_weight | integer | no | Traffic % for variant (1-99) |
escalateflow_experiment_delete
Delete an experiment (must be paused or draft)
| Parameter | Type | Required | Description |
|---|---|---|---|
experiment_id | string | yes | Experiment ID to delete |
escalateflow_experiment_list
List experiments for the website
| Parameter | Type | Required | Description |
|---|---|---|---|
status | string | no | Filter by status One of: draft, running, paused, completed, all. |
media
escalateflow_media_upload
Upload an image or file. Provide base64 data or a URL to fetch. Returns CDN URL and media ID.
| Parameter | Type | Required | Description |
|---|---|---|---|
image_data | string | no | Base64 encoded file content (with or without data URI prefix) |
image_url | string | no | URL to fetch and upload (alternative to base64) |
filename | string | no | Original filename with extension Default: upload.png. |
title | string | no | Display title |
alt_text | string | no | Alt text for accessibility and SEO |
folder | string | no | Folder path, e.g. 'images/team' Default: media. |
tags | array | no | Tags for organization |
escalateflow_media_list
List all media files in a project. Supports search, filtering by type/folder/tag, and pagination.
| Parameter | Type | Required | Description |
|---|---|---|---|
search | string | no | Search title, filename, alt_text |
mime_type | string | no | Filter: 'image/*', 'application/pdf', etc. |
folder | string | no | Filter by folder |
tag | string | no | Filter by tag |
page | integer | no | Page number Default: 1. |
page_size | integer | no | Items per page Default: 50. |
escalateflow_media_update
Update media file metadata (title, alt_text, description, tags, folder).
| Parameter | Type | Required | Description |
|---|---|---|---|
media_id | string | yes | Media file ID |
title | string | no | New display title |
alt_text | string | no | New alt text |
description | string | no | New description |
tags | array | no | New tags |
folder | string | no | New folder path |
escalateflow_media_delete
Delete a media file from the library and CDN.
| Parameter | Type | Required | Description |
|---|---|---|---|
media_id | string | yes | Media file ID to delete |
video
escalateflow_video_upload
Upload a video from a public URL. It is transcoded to HLS; poll 'get' until status is 'ready', then embed it with a video block.
| Parameter | Type | Required | Description |
|---|---|---|---|
url | string | yes | Public http(s) URL of the video (mp4/mov/webm) |
private | boolean | no | true for a paid course lesson: stored privately, never has a public URL Default: False. |
escalateflow_video_get
Get a video's status and URLs
| Parameter | Type | Required | Description |
|---|---|---|---|
video_id | string | yes | Video ID |
escalateflow_video_list
List the project's videos
escalateflow_video_delete
Delete a video and its files
| Parameter | Type | Required | Description |
|---|---|---|---|
video_id | string | yes | Video ID |
content
escalateflow_content_create_type
Create a custom content type. Define fields with types and validations. Examples: Testimonials, Team Members, Events, FAQs.
| Parameter | Type | Required | Description |
|---|---|---|---|
name | string | yes | Display name, e.g. 'Testimonials' |
slug | string | no | URL-safe identifier, e.g. 'testimonials' (auto-generated from name if omitted) |
description | string | no | Description of this content type |
title_field | string | no | Which field to use as display title |
fields | array | yes | Field definitions. Each: {name, type, label, required, validations} |
escalateflow_content_list_types
List all custom content types in a project.
escalateflow_content_update_type
Update a content type's name, description, fields, or settings.
| Parameter | Type | Required | Description |
|---|---|---|---|
content_type | string | yes | Slug of content type to update |
name | string | no | New display name |
description | string | no | New description |
fields | array | no | Updated field definitions |
title_field | string | no | New title field |
is_active | boolean | no | Active status |
escalateflow_content_delete_type
Delete a content type and all its entries.
| Parameter | Type | Required | Description |
|---|---|---|---|
content_type | string | yes | Slug of content type to delete |
escalateflow_content_create_entry
Create a new entry for a content type. Pass field values matching the schema.
| Parameter | Type | Required | Description |
|---|---|---|---|
content_type | string | yes | Slug of content type, e.g. 'testimonials' |
data | object | yes | Field values matching the content type schema |
status | string | no | Entry status One of: draft, published, archived. Default: published. |
sort_order | integer | no | Sort order (lower = first) Default: 0. |
locale | string | no | Locale code, e.g. 'en' Default: en. |
slug | string | no | URL slug (auto-generated from title if omitted) |
created_by | string | no | Who created this entry |
escalateflow_content_list_entries
List entries for a content type. Supports rich filtering (operators: gte, lte, gt, lt, in, contains, isnull), search, sorting by any field, reference resolution, and sparse fieldsets.
| Parameter | Type | Required | Description |
|---|---|---|---|
content_type | string | yes | Slug of content type |
status | string | no | Filter by status One of: draft, published, archived. |
search | string | no | Search across text fields |
sort | string | no | Sort by any field (prefix - for descending). Supports JSONB fields: -precio, nombre |
filter | object | no | JSONB filters: {"precio__gte": 50000, "tipo__in": "loft,studio", "destacada": true} |
include | string | no | Comma-separated reference fields to resolve (e.g. 'zona,desarrolladora') |
fields | string | no | Comma-separated field names to return (sparse fieldset) |
locale | string | no | Filter by locale |
page | integer | no | Page number Default: 1. |
page_size | integer | no | Items per page Default: 50. |
escalateflow_content_update_entry
Update an entry's data or status. Data fields are merged (not replaced).
| Parameter | Type | Required | Description |
|---|---|---|---|
content_type | string | yes | Slug of content type |
entry_id | string | yes | Entry ID to update |
data | object | no | Fields to update (merged with existing) |
status | string | no | New status One of: draft, published, archived. |
sort_order | integer | no | New sort order |
escalateflow_content_delete_entry
Delete an entry.
| Parameter | Type | Required | Description |
|---|---|---|---|
content_type | string | yes | Slug of content type |
entry_id | string | yes | Entry ID to delete |
escalateflow_content_create_template
Create a render template for a content type. Templates use {{field}}, {%if%}, {%each%} syntax with safe filters.
| Parameter | Type | Required | Description |
|---|---|---|---|
content_type | string | yes | Slug of content type |
name | string | yes | Template name (e.g. 'card', 'detail') |
slug | string | no | Template slug (auto-generated from name if omitted) |
html | string | yes | Template HTML with {{field}}, {%if%}, {%each%} syntax |
css | string | no | Optional scoped CSS |
is_default | boolean | no | Use as default template Default: False. |
escalateflow_content_preview_template
Preview a template rendered with sample data or a specific entry.
| Parameter | Type | Required | Description |
|---|---|---|---|
content_type | string | yes | Slug of content type |
template | string | yes | Template slug |
entry_id | string | no | Entry ID to render (or use 'data' for inline) |
data | object | no | Inline data to render with |
locale
escalateflow_locale_add_locale
Add a language/locale to a project. Enables multi-language content.
| Parameter | Type | Required | Description |
|---|---|---|---|
code | string | yes | Locale code: en, fr, nl, es, de, pt-BR, etc. |
name | string | no | Display name: English, Francais, etc. |
is_default | boolean | no | Set as default locale |
fallback | string | no | Fallback locale code if content is missing |
url_prefix | string | no | URL prefix for this locale (e.g. 'fr') |
domain | string | no | Optional: serve this locale on a specific domain |
escalateflow_locale_list_locales
List all configured locales for a project.
escalateflow_locale_set_default
Set a locale as the default for a project.
| Parameter | Type | Required | Description |
|---|---|---|---|
code | string | yes | Locale code to set as default |
escalateflow_locale_delete_locale
Remove a locale from a project.
| Parameter | Type | Required | Description |
|---|---|---|---|
code | string | yes | Locale code to delete |
escalateflow_locale_translate_page
Create a translation of an existing page. Copies content to new locale for translation.
| Parameter | Type | Required | Description |
|---|---|---|---|
page_id | string | yes | ID of the page to translate |
target_locale | string | yes | Locale code to translate into |
escalateflow_locale_translate_post
Create a translation of a blog post.
| Parameter | Type | Required | Description |
|---|---|---|---|
post_id | string | yes | ID of the blog post to translate |
target_locale | string | yes | Locale code to translate into |
escalateflow_locale_translate_product
Create a translation of a product.
| Parameter | Type | Required | Description |
|---|---|---|---|
product_id | string | yes | ID of the product to translate |
target_locale | string | yes | Locale code to translate into |
escalateflow_email_smtp_connect
Connect an SMTP server for sending emails
| Parameter | Type | Required | Description |
|---|---|---|---|
name | string | yes | Connection name (e.g., 'Gmail') |
host | string | yes | SMTP host (e.g., smtp.gmail.com) |
port | integer | no | SMTP port (587 for TLS, 465 for SSL) Default: 587. |
username | string | yes | SMTP username |
password | string | yes | SMTP password or app password |
from_email | string | yes | Sender email address |
from_name | string | no | Sender display name |
escalateflow_email_smtp_test
Test an SMTP connection by sending a test email
| Parameter | Type | Required | Description |
|---|---|---|---|
smtp_id | string | yes | SMTP connection ID |
to | string | no | Send test email to this address |
escalateflow_email_template_create
Create an email template with {{variable}} placeholders
| Parameter | Type | Required | Description |
|---|---|---|---|
name | string | yes | Template name (e.g., 'Welcome Email') |
subject | string | yes | Subject line with {{field}} variables |
body_html | string | yes | HTML body with {{field}} variables |
escalateflow_email_template_preview
Preview a template rendered with sample data
| Parameter | Type | Required | Description |
|---|---|---|---|
template_id | string | yes | Template ID |
data | object | yes | Sample data to render with |
escalateflow_email_smtp_list
List all SMTP connections for this website
escalateflow_email_template_list
List all email templates for this website
escalateflow_email_template_update
Update an existing email template
| Parameter | Type | Required | Description |
|---|---|---|---|
template_id | string | yes | Template ID to update |
name | string | no | New template name |
subject | string | no | New subject line |
body_html | string | no | New HTML body |
is_active | boolean | no | Active status |
escalateflow_email_rule_create
Create an email rule: when form submitted + conditions match → send template
| Parameter | Type | Required | Description |
|---|---|---|---|
form_id | string | yes | Form ID to attach rule to |
template_id | string | yes | Email template ID to send |
smtp_id | string | yes | SMTP connection ID to send through |
to_field | string | no | Form field containing recipient email Default: email. |
to_fixed | string | no | Fixed recipient address (alternative to to_field) |
conditions | array | no | Conditions: [{field, operator, value}]. Empty = always fire. |
delay_seconds | integer | no | 0=immediate, 86400=1 day later Default: 0. |
track_opens | boolean | no | Enable open tracking (opt-in) Default: False. |
track_clicks | boolean | no | Enable click tracking (opt-in) Default: False. |
followup_if | string | no | Follow-up condition: not_opened | not_clicked | empty |
followup_delay_seconds | integer | no | Seconds before follow-up check Default: 86400. |
followup_max | integer | no | Max follow-up attempts Default: 3. |
escalateflow_email_rule_list
List all email rules for a form
| Parameter | Type | Required | Description |
|---|---|---|---|
form_id | string | yes | Form ID |
analytics
escalateflow_analytics_summary
STANDARD analytics of the website (the dashboard's numbers): visitors, page views, leads, conversion (vs the previous period), per-day series, pages that work best (views + leads), sources, UTM campaigns, devices, countries, and for shops orders, revenue and best-selling products. Bots never count; a visitor is a distinct daily visitor id. Filters (path, utm_*) limit every number to those pages and that traffic. Leads are split into leads_confirmed and leads_pending (double opt-in), with confirmation_rate; ads = per utm_content
| Parameter | Type | Required | Description |
|---|---|---|---|
days | integer | no | Last N days (1-365). Same as period=Nd Default: 30. |
period | string | no | Last N days as 'Nd' (e.g. 7d). Same as days=N |
date_from | string | no | Start date YYYY-MM-DD (whole day) or ISO datetime; wins over days/period |
date_to | string | no | End date YYYY-MM-DD (inclusive) or ISO datetime; default now |
path | string | no | Only these pages: one path (/my-landing/) or several separated by commas |
utm_source | string | no | Only this UTM source (e.g. meta); case-insensitive |
utm_medium | string | no | Only this UTM medium |
utm_campaign | string | no | Only this campaign (utm_campaign) |
utm_content | string | no | Only this ad (utm_content; for Meta ads, the ad name) |
include_test | boolean | no | Also count test traffic, left out by default: visits and sign-ups in test mode (?ef_notrack=1), from the website's test IPs / emails / sources, and utm_source prueba/test/internal Default: False. |
escalateflow_analytics_landings
Ad landings: one row per page (the pages in path, else the most visited) with views, visitors, leads confirmed and pending, conversion, confirmation rate and a daily series, for the traffic of the filters (e.g. path=/my-landing/ and utm_source=meta)
| Parameter | Type | Required | Description |
|---|---|---|---|
days | integer | no | Last N days (1-365). Same as period=Nd Default: 30. |
period | string | no | Last N days as 'Nd' (e.g. 7d). Same as days=N |
date_from | string | no | Start date YYYY-MM-DD (whole day) or ISO datetime; wins over days/period |
date_to | string | no | End date YYYY-MM-DD (inclusive) or ISO datetime; default now |
path | string | no | Only these pages: one path (/my-landing/) or several separated by commas |
utm_source | string | no | Only this UTM source (e.g. meta); case-insensitive |
utm_medium | string | no | Only this UTM medium |
utm_campaign | string | no | Only this campaign (utm_campaign) |
utm_content | string | no | Only this ad (utm_content; for Meta ads, the ad name) |
include_test | boolean | no | Also count test traffic, left out by default: visits and sign-ups in test mode (?ef_notrack=1), from the website's test IPs / emails / sources, and utm_source prueba/test/internal Default: False. |
escalateflow_analytics_conversions
The leads behind summary.totals.leads (bots excluded), newest first, with their page, UTM and status: pending (double opt-in not confirmed yet), confirmed, or direct (a form without double opt-in)
| Parameter | Type | Required | Description |
|---|---|---|---|
days | integer | no | Last N days (1-365). Same as period=Nd Default: 30. |
period | string | no | Last N days as 'Nd' (e.g. 7d). Same as days=N |
date_from | string | no | Start date YYYY-MM-DD (whole day) or ISO datetime; wins over days/period |
date_to | string | no | End date YYYY-MM-DD (inclusive) or ISO datetime; default now |
path | string | no | Only these pages: one path (/my-landing/) or several separated by commas |
utm_source | string | no | Only this UTM source (e.g. meta); case-insensitive |
utm_medium | string | no | Only this UTM medium |
utm_campaign | string | no | Only this campaign (utm_campaign) |
utm_content | string | no | Only this ad (utm_content; for Meta ads, the ad name) |
include_test | boolean | no | Also count test traffic, left out by default: visits and sign-ups in test mode (?ef_notrack=1), from the website's test IPs / emails / sources, and utm_source prueba/test/internal Default: False. |
status | string | no | Only pending, confirmed or direct leads |
limit | integer | no | Max results (max 500) Default: 100. |
escalateflow_analytics_overview
DEPRECATED (removed 2026-12-14): use escalateflow_analytics_summary (same numbers). Totals under the old names: total_pageviews, unique_visitors, total_conversions, conversion_rate, top_sources
| Parameter | Type | Required | Description |
|---|---|---|---|
days | integer | no | Last N days (1-365). Same as period=Nd Default: 30. |
period | string | no | Last N days as 'Nd' (e.g. 7d). Same as days=N |
date_from | string | no | Start date YYYY-MM-DD (whole day) or ISO datetime; wins over days/period |
date_to | string | no | End date YYYY-MM-DD (inclusive) or ISO datetime; default now |
escalateflow_analytics_top_pages
DEPRECATED (removed 2026-12-14): use escalateflow_analytics_summary (same numbers). Pages ranked by views (summary.top_pages)
| Parameter | Type | Required | Description |
|---|---|---|---|
days | integer | no | Last N days (1-365). Same as period=Nd Default: 30. |
period | string | no | Last N days as 'Nd' (e.g. 7d). Same as days=N |
date_from | string | no | Start date YYYY-MM-DD (whole day) or ISO datetime; wins over days/period |
date_to | string | no | End date YYYY-MM-DD (inclusive) or ISO datetime; default now |
escalateflow_analytics_pageviews
The individual page views behind summary (bots excluded), newest first
| Parameter | Type | Required | Description |
|---|---|---|---|
days | integer | no | Last N days (1-365). Same as period=Nd Default: 30. |
period | string | no | Last N days as 'Nd' (e.g. 7d). Same as days=N |
date_from | string | no | Start date YYYY-MM-DD (whole day) or ISO datetime; wins over days/period |
date_to | string | no | End date YYYY-MM-DD (inclusive) or ISO datetime; default now |
path | string | no | Only these pages: one path (/my-landing/) or several separated by commas |
utm_source | string | no | Only this UTM source (e.g. meta); case-insensitive |
utm_medium | string | no | Only this UTM medium |
utm_campaign | string | no | Only this campaign (utm_campaign) |
utm_content | string | no | Only this ad (utm_content; for Meta ads, the ad name) |
include_test | boolean | no | Also count test traffic, left out by default: visits and sign-ups in test mode (?ef_notrack=1), from the website's test IPs / emails / sources, and utm_source prueba/test/internal Default: False. |
limit | integer | no | Max results (max 500) Default: 100. |
goal
escalateflow_goal_create
Create a conversion goal to track events (form submissions, page visits, clicks, etc.)
| Parameter | Type | Required | Description |
|---|---|---|---|
name | string | yes | Goal name (e.g., 'Thank You Page Visit') |
trigger_type | string | yes | What triggers the goal One of: form_submit, page_view, click, time_on_page, scroll_depth, custom, subscription.trial_started, subscription.converted. |
trigger_config | object | no | Trigger configuration (e.g., {path: '/thank-you/'} for page_view, {form_id: 'uuid'} for form_submit, {selector: '.cta-btn'} for click) |
event_type | string | no | Standard event type One of: lead, purchase, signup, contact, subscribe, add_to_cart, initiate_checkout, complete_registration. Default: lead. |
default_value | number | no | Monetary value per conversion Default: 0. |
currency | string | no | Currency code Default: USD. |
escalateflow_goal_list
List all conversion goals for this website
escalateflow_goal_stats
Get conversion stats for a specific goal: triggers, visitors, by day/page/source
| Parameter | Type | Required | Description |
|---|---|---|---|
goal_id | string | yes | Conversion goal ID |
period | string | no | Time period: 7d, 30d, 90d Default: 30d. |
escalateflow_goal_list_connections
List the account's ad platform connections (pixels / conversions APIs) and the websites each one serves. Secrets are never returned.
escalateflow_goal_set_connection_websites
Choose the websites an ad platform connection serves: only events of those websites (forms, goals, shop) are sent to it. Pass website_ids, or all_websites=true for every website of the account.
| Parameter | Type | Required | Description |
|---|---|---|---|
connection_id | string | yes | Ad platform connection id (see list_connections) |
website_ids | array | no | Ids of the account's websites the connection serves |
all_websites | boolean | no | true = every website of the account |
submission
escalateflow_submission_list
List form submissions for the project. Excludes archived/spam by default.
| Parameter | Type | Required | Description |
|---|---|---|---|
form_id | string | no | Filter by form ID |
status | string | no | Filter by status ('all' = every status) One of: submitted, read, archived, spam, all. |
is_bot | boolean | no | true = only anti-spam-flagged, false = only humans (default: humans) |
include_test | boolean | no | true = also the test sign-ups (test mode ?ef_notrack=1, the website's test IPs / emails / sources); default: left out |
email | string | no | Only submissions with this email |
utm_source | string | no | Only this UTM source |
limit | integer | no | Max results Default: 50. |
escalateflow_submission_update
Update a submission's status (read, archived, spam, submitted).
| Parameter | Type | Required | Description |
|---|---|---|---|
submission_id | string | yes | Submission UUID |
status | string | yes | New status One of: submitted, read, archived, spam. |
escalateflow_submission_delete
Delete a single form submission permanently.
| Parameter | Type | Required | Description |
|---|---|---|---|
submission_id | string | yes | Submission UUID to delete |
escalateflow_submission_bulk_delete
Delete multiple submissions at once. Max 100 per call.
| Parameter | Type | Required | Description |
|---|---|---|---|
submission_ids | array | yes | Array of submission UUIDs (max 100) |
webhook
escalateflow_webhook_create
Create a webhook that fires on site events
| Parameter | Type | Required | Description |
|---|---|---|---|
name | string | yes | Webhook name |
url | string | yes | Endpoint URL to POST to |
events | array | yes | Events to trigger on: form_submission, page_view, conversion, all |
secret | string | no | Shared secret for HMAC signature verification |
headers | object | no | Custom headers to include |
landing_id | string | no | Scope to a specific page (optional) |
escalateflow_webhook_list
List all webhooks for this website
escalateflow_webhook_delete
Delete a webhook
| Parameter | Type | Required | Description |
|---|---|---|---|
webhook_id | string | yes | Webhook ID to delete |
escalateflow_webhook_test
Send a test payload to verify the webhook endpoint works
| Parameter | Type | Required | Description |
|---|---|---|---|
webhook_id | string | yes | Webhook ID to test |
domain
escalateflow_domain_add
Add a custom domain to the website. Auto-registers with Cloudflare and adds www companion.
| Parameter | Type | Required | Description |
|---|---|---|---|
domain | string | yes | Domain name (e.g., example.com) |
escalateflow_domain_list
List all custom domains for this website with their verification status
escalateflow_domain_verify
Check SSL/DNS status for a domain. Call after pointing DNS to verify everything works.
| Parameter | Type | Required | Description |
|---|---|---|---|
domain_id | string | yes | Domain ID to verify |
redirect
escalateflow_redirect_create
Create a URL redirect (301 permanent or 302 temporary)
| Parameter | Type | Required | Description |
|---|---|---|---|
source_path | string | yes | Source path (e.g., /old-page/) |
destination | string | yes | Destination URL or path (e.g., /new-page/ or https://...) |
redirect_type | string | no | 301 (permanent) or 302 (temporary) One of: 301, 302. Default: 301. |
escalateflow_redirect_list
List the redirects of this website (filters optional)
| Parameter | Type | Required | Description |
|---|---|---|---|
q | string | no | Text in the source or the destination |
used | string | no | yes = redirected a visit at least once, no = never One of: yes, no. |
order | string | no | Order One of: -created, -hits, -last_hit, source. |
escalateflow_redirect_bulk_import
Create or update up to 10,000 redirects at once (migrating a website). Give `redirects` (a list of {source_path, destination, redirect_type?, match_type?}) or `csv` (lines 'source,destination[,301|302[,exact|prefix|wildcard|regex]]'). Rows with an invalid destination, a duplicate source, a loop, or beyond the plan limit are refused; chains (A->B->C) are reported and, with flatten_chains, sent straight to C. Run with dry_run=true first to see the report.
| Parameter | Type | Required | Description |
|---|---|---|---|
redirects | array | no | List of {source_path, destination, redirect_type, match_type} |
csv | string | no | CSV text: source,destination[,type[,match]] per line |
dry_run | boolean | no | Only report, write nothing Default: False. |
flatten_chains | boolean | no | Send chains straight to their final destination Default: False. |
escalateflow_redirect_export
Every redirect of this website as CSV (source, destination, type, match, active, visits, last visit)
escalateflow_redirect_not_found
The most requested addresses of this website that answer 404 (people, not bots, last 90 days), each with a suggested page: create redirects for them with create or bulk_import
| Parameter | Type | Required | Description |
|---|---|---|---|
limit | integer | no | How many (1-500) Default: 50. |
audit
escalateflow_audit_history
Latest changes, newest first: table, object id, operation, changed fields with their value before and after, and who made it (user / api / mcp + tool / visitor / system)
| Parameter | Type | Required | Description |
|---|---|---|---|
table | string | no | Only this table, e.g. shop_product, websites_websitepage |
record_id | string | no | Only this object id |
limit | integer | no | How many (default 20, at most 200) Default: 20. |
escalateflow_audit_revert
Undo one change by its history id: an update gets the fields' previous values back, a deleted object is restored. The undo itself is recorded too.
| Parameter | Type | Required | Description |
|---|---|---|---|
change_id | integer | yes | id from audit history |
site_users
escalateflow_site_users_list_users
List site users for the website
| Parameter | Type | Required | Description |
|---|---|---|---|
role | string | no | Filter by role One of: subscriber, customer, contributor, editor, admin. |
search | string | no | Search by email or name |
is_active | boolean | no | Filter by active status |
limit | integer | no | Max results Default: 50. |
escalateflow_site_users_get_user
Get user details by ID or email
| Parameter | Type | Required | Description |
|---|---|---|---|
user_id | string | no | User UUID |
email | string | no | User email |
escalateflow_site_users_create_user
Create a new site user account
| Parameter | Type | Required | Description |
|---|---|---|---|
email | string | yes | User email |
password | string | yes | User password |
first_name | string | no | First name |
last_name | string | no | Last name |
display_name | string | no | Display name |
role | string | no | User role One of: subscriber, customer, contributor, editor, admin. Default: subscriber. |
escalateflow_site_users_update_user
Update a user's profile or role
| Parameter | Type | Required | Description |
|---|---|---|---|
user_id | string | yes | User UUID |
first_name | string | no | First name |
last_name | string | no | Last name |
display_name | string | no | Display name |
role | string | no | User role One of: subscriber, customer, contributor, editor, admin. |
is_active | boolean | no | Active status |
escalateflow_site_users_delete_user
Delete a site user account
| Parameter | Type | Required | Description |
|---|---|---|---|
user_id | string | yes | User UUID |
escalateflow_site_users_export_user_data
Everything the website keeps about one customer (profile, addresses, orders, access, memberships, form submissions): the data-access / portability export
| Parameter | Type | Required | Description |
|---|---|---|---|
user_id | string | yes | User UUID |
escalateflow_site_users_ban_user
Ban or unban a site user
| Parameter | Type | Required | Description |
|---|---|---|---|
user_id | string | yes | User UUID |
ban | boolean | yes | True to ban, False to unban |
reason | string | no | Ban reason |
escalateflow_site_users_get_auth_settings
Get website authentication settings
escalateflow_site_users_update_auth_settings
Update website authentication settings
| Parameter | Type | Required | Description |
|---|---|---|---|
is_enabled | boolean | no | Enable frontend user accounts |
is_registration_enabled | boolean | no | Allow registration |
is_login_enabled | boolean | no | Allow login |
require_email_verification | boolean | no | Require email verification |
min_password_length | integer | no | Minimum password length (6-128) |
require_strong_password | boolean | no | Require letters, numbers and symbols |
default_role | string | no | Role given at public sign-up One of: subscriber, customer. |
session_duration_days | integer | no | Session duration in days (1-365) |
max_login_attempts | integer | no | Failed logins before lockout (1-100) |
lockout_duration_minutes | integer | no | Lockout duration in minutes (1-1440) |
allowed_email_domains | array | no | Only these email domains can register, e.g. ["example.com"] |
blocked_email_domains | array | no | These email domains cannot register |
login_redirect_url | string | no | Where to go after login: relative path or http(s) URL |
logout_redirect_url | string | no | Where to go after logout: relative path or http(s) URL |
registration_redirect_url | string | no | Where to go after sign-up: relative path or http(s) URL |
privacy_policy_url | string | no | Privacy policy http(s) URL |
terms_url | string | no | Terms of service http(s) URL |
require_consent | boolean | no | Require accepting the terms at sign-up |
deleted_customer_orders | string | no | What happens to a customer's orders when the account is deleted: keep (default), contact (email and phone removed) or anonymize (name, email, phone and address removed) One of: keep, contact, anonymize. |
escalateflow_site_users_get_user_stats
Get user registration statistics
escalateflow_site_users_create_group
Create a user group for content gating
| Parameter | Type | Required | Description |
|---|---|---|---|
name | string | yes | Group name (e.g., 'Premium Members') |
slug | string | no | Group slug (auto-generated from name if omitted) |
description | string | no | Group description |
escalateflow_site_users_list_groups
List user groups
escalateflow_site_users_add_to_group
Add a user to a group
| Parameter | Type | Required | Description |
|---|---|---|---|
group_slug | string | yes | Group slug |
user_id | string | yes | User UUID to add |
escalateflow_site_users_protection_get
Whole-site protection: mode (off / password / login), rules and the paths left open
escalateflow_site_users_protection_set
Protect the whole website. mode 'password' = one shared password (gate page, 30-day cookie); 'login' = only signed-in site users meeting access_level (members, customers, paid, tiers...) + allowed_groups / allowed_tiers; 'off' = public. open_paths stay public ("/" = homepage only, "/blog/*" = prefix); /account/* is always open. For one page use the page's access_level 'password' + password instead.
| Parameter | Type | Required | Description |
|---|---|---|---|
mode | string | yes | Protection mode One of: off, password, login. |
password | string | no | Shared password (mode password, min 4 chars) |
access_level | string | no | Who gets in with mode login One of: members, customers, contributors, editors, admins, paid, tiers. |
allowed_groups | array | no | Group slugs (any of them) |
allowed_tiers | array | no | Member tier slugs (access_level tiers) |
open_paths | array | no | Paths left public |
title | string | no | Gate page title |
text | string | no | Gate page text |
escalateflow_site_users_remove_from_group
Remove a user from a group
| Parameter | Type | Required | Description |
|---|---|---|---|
group_slug | string | yes | Group slug |
user_id | string | yes | User UUID to remove |
website_access
escalateflow_website_access_list
List people, roles, last access and pending invitations.
escalateflow_website_access_invite
Email an invitation. Reserves a plan seat; Client by default.
| Parameter | Type | Required | Description |
|---|---|---|---|
email | string | yes | Recipient email |
role | string | no | Client is read-only; editor can edit content. One of: client, editor. |
escalateflow_website_access_update
Change an existing collaborator role.
| Parameter | Type | Required | Description |
|---|---|---|---|
access_id | string | yes | Access UUID |
role | string | yes | New role One of: client, editor. |
escalateflow_website_access_revoke
Immediately revoke this website access, including open sessions.
| Parameter | Type | Required | Description |
|---|---|---|---|
access_id | string | yes | Access UUID |
escalateflow_website_access_resend
Resend an invitation and invalidate its old link (60 second cooldown).
| Parameter | Type | Required | Description |
|---|---|---|---|
invitation_id | string | yes | Invitation UUID |
escalateflow_website_access_cancel
Invalidate a pending invitation.
| Parameter | Type | Required | Description |
|---|---|---|---|
invitation_id | string | yes | Invitation UUID |
members
escalateflow_members_tier_list
List the member tiers
escalateflow_members_tier_create
Create a member tier
| Parameter | Type | Required | Description |
|---|---|---|---|
name | string | no | Tier name, e.g. Premium |
slug | string | no | URL-safe id used in allowed_tiers (default: from the name) |
description | string | no | Shown on the paywall |
is_paid | boolean | no | Paid tier (counts for access_level 'paid') |
monthly_price | number | no | Monthly price |
yearly_price | number | no | Yearly price |
currency | string | no | ISO currency, e.g. eur |
trial_days | integer | no | Free trial days |
benefits | array | no | Benefit strings shown on the paywall |
checkout_url | string | no | External checkout link (Lemon Squeezy, Gumroad...) for the paywall button |
external_ids | object | no | Provider ids that grant this tier: {"lemonsqueezy": ["<variant id>"], "gumroad": ["<product id>"], "paddle": ["<price id>"], "stripe": ["<price id>"]} |
is_active | boolean | no | Active |
sort_order | integer | no | Order on the paywall |
escalateflow_members_tier_update
Update a member tier
| Parameter | Type | Required | Description |
|---|---|---|---|
tier | string | yes | Tier slug or id |
name | string | no | Tier name, e.g. Premium |
slug | string | no | URL-safe id used in allowed_tiers (default: from the name) |
description | string | no | Shown on the paywall |
is_paid | boolean | no | Paid tier (counts for access_level 'paid') |
monthly_price | number | no | Monthly price |
yearly_price | number | no | Yearly price |
currency | string | no | ISO currency, e.g. eur |
trial_days | integer | no | Free trial days |
benefits | array | no | Benefit strings shown on the paywall |
checkout_url | string | no | External checkout link (Lemon Squeezy, Gumroad...) for the paywall button |
external_ids | object | no | Provider ids that grant this tier: {"lemonsqueezy": ["<variant id>"], "gumroad": ["<product id>"], "paddle": ["<price id>"], "stripe": ["<price id>"]} |
is_active | boolean | no | Active |
sort_order | integer | no | Order on the paywall |
escalateflow_members_tier_delete
Delete a tier without subscriptions (else deactivate it)
| Parameter | Type | Required | Description |
|---|---|---|---|
tier | string | yes | Tier slug or id |
escalateflow_members_subscription_list
List member subscriptions
| Parameter | Type | Required | Description |
|---|---|---|---|
email | string | no | Member email |
tier | string | no | Tier slug |
status | string | no | Status One of: active, trialing, past_due, paused, cancelled, expired. |
active_only | boolean | no | Only subscriptions that grant access now |
limit | integer | no | Max results Default: 50. |
escalateflow_members_grant
Give a member (by email, created if needed) a tier, by hand or complimentary
| Parameter | Type | Required | Description |
|---|---|---|---|
email | string | yes | Member email |
tier | string | yes | Tier slug or id |
source | string | no | manual or comp One of: manual, comp. |
current_period_end | string | no | Access ends (ISO date), empty = no end |
name | string | no | Member name (new members) |
note | string | no | Internal note |
escalateflow_members_revoke
End a member's access (subscription id, or email + tier)
| Parameter | Type | Required | Description |
|---|---|---|---|
subscription_id | string | no | Subscription id |
email | string | no | Member email |
tier | string | no | Tier slug |
escalateflow_members_hook_list
List the incoming payment webhooks
escalateflow_members_hook_create
Create the webhook URL to paste in Lemon Squeezy / Gumroad / Paddle / Stripe (returns the URL and the signing secret)
| Parameter | Type | Required | Description |
|---|---|---|---|
provider | string | yes | Provider One of: lemonsqueezy, gumroad, paddle, stripe, generic. |
default_tier | string | no | Tier granted when no tier lists the product id |
signing_secret | string | no | The provider's signing secret (Paddle / Stripe give you one; default: generated) |
escalateflow_members_hook_update
Update a webhook
| Parameter | Type | Required | Description |
|---|---|---|---|
hook_id | string | yes | Hook id |
default_tier | string | no | Tier slug (empty = none) |
signing_secret | string | no | New signing secret |
is_active | boolean | no | Active |
escalateflow_members_hook_delete
Delete a webhook
| Parameter | Type | Required | Description |
|---|---|---|---|
hook_id | string | yes | Hook id |
escalateflow_members_newsletter_send
Send a published blog post by email to members (whole post to those with access, teaser + link to the rest)
| Parameter | Type | Required | Description |
|---|---|---|---|
post_id | string | yes | Blog post id |
audience | string | no | Who gets it One of: all, free, paid, tiers. |
tiers | array | no | Tier slugs for audience 'tiers' |
subject | string | no | Email subject (default: the post title) |
send_at | string | no | ISO date to schedule it (default: now) |
escalateflow_members_newsletter_list
Newsletter sends with sent / failed / opened counts
| Parameter | Type | Required | Description |
|---|---|---|---|
limit | integer | no | Max results Default: 20. |
escalateflow_members_newsletter_count
How many members an audience has
| Parameter | Type | Required | Description |
|---|---|---|---|
audience | string | no | Audience One of: all, free, paid, tiers. |
tiers | array | no | Tier slugs for audience 'tiers' |
escalateflow_members_newsletter_test
Send one test email of a post to an address
| Parameter | Type | Required | Description |
|---|---|---|---|
post_id | string | yes | Blog post id |
email | string | yes | Address |
full_access | boolean | no | Whole post (true) or the teaser a free member gets |
escalateflow_members_newsletter_cancel
Cancel a send that hasn't finished
| Parameter | Type | Required | Description |
|---|---|---|---|
newsletter_id | string | yes | Send id |
escalateflow_members_import_members
Import members from CSV text (email required; name, tier, expires, newsletter, note optional); dry_run validates only
| Parameter | Type | Required | Description |
|---|---|---|---|
csv | string | yes | CSV text with a header row |
dry_run | boolean | no | Validate without writing |
source | string | no | Tier grants as comp or manual One of: comp, manual. |
escalateflow_members_portal_status
Is the member Portal (floating Subscribe button + dialog) on
escalateflow_members_portal_enable
Turn on (or update) the member Portal on every page: a floating Subscribe button and a signup dialog; links to #portal open it too. Needs site user accounts on (site_users update_auth_settings is_enabled=true), or it is refused
| Parameter | Type | Required | Description |
|---|---|---|---|
text | string | no | Button text (default: Subscribe in the site's language) |
color | string | no | Hex colour, e.g. #e11d48 |
button | boolean | no | Show the floating button (false = only #portal links) |
escalateflow_members_portal_disable
Turn the member Portal off
escalateflow_members_hook_events
Deliveries a webhook received (applied / ignored / error)
| Parameter | Type | Required | Description |
|---|---|---|---|
hook_id | string | yes | Hook id |
limit | integer | no | Max results Default: 20. |
grants
escalateflow_grants_list
List access grants
| Parameter | Type | Required | Description |
|---|---|---|---|
email | string | no | Only this person |
resource_type | string | no | Only this kind of resource |
resource_id | string | no | Only this resource |
status | string | no | Status One of: active, pending, revoked. |
limit | integer | no | Max results Default: 50. |
escalateflow_grants_create
Give a person access to a resource by hand (no purchase)
| Parameter | Type | Required | Description |
|---|---|---|---|
email | string | yes | Their email |
resource_type | string | yes | What the access is to One of: page, post, course, file, video, tier. |
resource_id | string | yes | Id of the page / post / ... |
duration_days | integer | no | Days of access (omit = no end) |
note | string | no | Why (kept with the grant) |
send_login_link | boolean | no | Email them a sign-in link Default: True. |
escalateflow_grants_revoke
Revoke a grant
| Parameter | Type | Required | Description |
|---|---|---|---|
grant_id | string | yes | Grant id |
reason | string | no | Why |
escalateflow_grants_product_set_access
Set what buying a product unlocks ([] removes it)
| Parameter | Type | Required | Description |
|---|---|---|---|
product_id | string | yes | Product id |
grants | array | yes | List of {"resource_type", "resource_id", "duration_days"} |
downloads
escalateflow_downloads_list
Files of a product and its download limits
| Parameter | Type | Required | Description |
|---|---|---|---|
product_id | string | yes | Product id |
escalateflow_downloads_upload_url
Start an upload of any size: returns a URL to PUT the bytes to (with the given Content-Type header); then call complete
| Parameter | Type | Required | Description |
|---|---|---|---|
product_id | string | yes | Product id |
filename | string | yes | File name, e.g. guide.pdf |
size | integer | no | Size in bytes (checked against the plan) |
escalateflow_downloads_complete
Finish an upload started with upload_url
| Parameter | Type | Required | Description |
|---|---|---|---|
product_id | string | yes | Product id |
file_id | string | yes | File id |
escalateflow_downloads_upload
Upload a small file (up to 5 MB) in one call
| Parameter | Type | Required | Description |
|---|---|---|---|
product_id | string | yes | Product id |
filename | string | yes | File name |
content_base64 | string | no | The bytes, base64 |
text | string | no | Or the content as plain text |
escalateflow_downloads_delete
Delete a file (buyers lose it too)
| Parameter | Type | Required | Description |
|---|---|---|---|
product_id | string | yes | Product id |
file_id | string | yes | File id |
escalateflow_downloads_set_limits
Per purchase: downloads allowed per file and days of access (null = no limit). Applies to purchases made from now on
| Parameter | Type | Required | Description |
|---|---|---|---|
product_id | string | yes | Product id |
download_limit | integer | no | Downloads per file per purchase |
download_days | integer | no | Days the purchase can download |
codes
escalateflow_codes_add
Add codes (duplicates are dropped)
| Parameter | Type | Required | Description |
|---|---|---|---|
product_id | string | yes | Product id |
variant_id | string | no | Variant id (required for a product with variants) |
codes | array | yes | The codes |
escalateflow_codes_list
Counts per pool and the codes, masked
| Parameter | Type | Required | Description |
|---|---|---|---|
product_id | string | yes | Product id |
variant_id | string | no | Variant id (required for a product with variants) |
status | string | no | Only this status One of: available, delivered, void, revoked. |
limit | integer | no | Max codes (default 100, max 500) |
escalateflow_codes_void
Void codes: available ones, or those of a refunded order
| Parameter | Type | Required | Description |
|---|---|---|---|
product_id | string | yes | Product id |
ids | array | yes | Code ids (from codes_list) |
note | string | no | Why |
escalateflow_codes_release
Put codes of a refunded / cancelled order back on sale (only when they were not used)
| Parameter | Type | Required | Description |
|---|---|---|---|
product_id | string | yes | Product id |
ids | array | yes | Code ids (from codes_list) |
checkouts
escalateflow_checkouts_create
Start a checkout and get its quote
| Parameter | Type | Required | Description |
|---|---|---|---|
lines | array | no | [{product_id, variant_id?, quantity 1-999}] (1-50 lines) |
customer | object | no | customer_name, customer_email, customer_phone?, shipping_address, shipping_city, shipping_postal_code, shipping_country |
shipping_rate_id | string | no | Shipping rate or pickup id (required when the shop has zones) |
coupon_code | string | no | Discount code |
gift_card_code | string | no | Gift card code |
payment_method | string | no | 'card' (Stripe) or 'transfer' (bank transfer) |
escalateflow_checkouts_get
A checkout and its last quote
| Parameter | Type | Required | Description |
|---|---|---|---|
checkout_id | string | yes | Checkout id |
escalateflow_checkouts_update
Change lines, customer or choices; returns the new quote
| Parameter | Type | Required | Description |
|---|---|---|---|
checkout_id | string | yes | Checkout id |
lines | array | no | [{product_id, variant_id?, quantity 1-999}] (1-50 lines) |
customer | object | no | customer_name, customer_email, customer_phone?, shipping_address, shipping_city, shipping_postal_code, shipping_country |
shipping_rate_id | string | no | Shipping rate or pickup id (required when the shop has zones) |
coupon_code | string | no | Discount code |
gift_card_code | string | no | Gift card code |
payment_method | string | no | 'card' (Stripe) or 'transfer' (bank transfer) |
escalateflow_checkouts_complete
Place the order (once). Card: returns a Stripe payment link; transfer: the shop's payment instructions
| Parameter | Type | Required | Description |
|---|---|---|---|
checkout_id | string | yes | Checkout id |
expected_total | string | no | Total shown to the customer (optional) |
success_url | string | no | Card: https URL after paying |
cancel_url | string | no | Card: https URL if the customer cancels |
courses
escalateflow_courses_list
List courses
escalateflow_courses_get
A course with its modules, lessons and the products that unlock it
| Parameter | Type | Required | Description |
|---|---|---|---|
course_id | string | yes | Course id |
escalateflow_courses_create
Create a course (draft unless status is published)
| Parameter | Type | Required | Description |
|---|---|---|---|
title | string | yes | Course title |
slug | string | no | URL slug: /courses/<slug>/ |
description | string | no | Short description shown on the syllabus |
cover_url | string | no | Cover image URL |
status | string | no | draft (hidden) or published One of: draft, published. |
product_id | string | no | Product whose purchase gives access to the course |
escalateflow_courses_update
Update a course
| Parameter | Type | Required | Description |
|---|---|---|---|
course_id | string | yes | Course id |
title | string | no | Course title |
slug | string | no | URL slug: /courses/<slug>/ |
description | string | no | Short description shown on the syllabus |
cover_url | string | no | Cover image URL |
status | string | no | draft (hidden) or published One of: draft, published. |
product_id | string | no | Product whose purchase gives access to the course |
escalateflow_courses_delete
Delete a course with its lessons and progress
| Parameter | Type | Required | Description |
|---|---|---|---|
course_id | string | yes | Course id |
escalateflow_courses_module_create
Add a module (section) to a course
| Parameter | Type | Required | Description |
|---|---|---|---|
course_id | string | yes | Course id |
title | string | yes | Module title |
escalateflow_courses_module_update
Rename a module
| Parameter | Type | Required | Description |
|---|---|---|---|
course_id | string | yes | Course id |
module_id | string | yes | Module id |
title | string | yes | Module title |
escalateflow_courses_module_delete
Delete a module (its lessons stay in the course)
| Parameter | Type | Required | Description |
|---|---|---|---|
course_id | string | yes | Course id |
module_id | string | yes | Module id |
escalateflow_courses_lesson_create
Add a lesson at the end of the course
| Parameter | Type | Required | Description |
|---|---|---|---|
course_id | string | yes | Course id |
title | string | no | Lesson title |
slug | string | no | URL slug (made from the title when omitted) |
type | string | no | Kind of lesson One of: text, video, download. |
content_html | string | no | Lesson body (HTML, sanitized) |
video_id | string | no | Video id (videos tool) for a video lesson |
file_id | string | no | File id (downloads tool) for a download lesson |
module_id | string | no | Module it belongs to (null = none) |
is_preview | boolean | no | Open to everybody without buying |
duration_s | integer | no | Length in seconds |
escalateflow_courses_lesson_update
Update a lesson
| Parameter | Type | Required | Description |
|---|---|---|---|
course_id | string | yes | Course id |
lesson_id | string | yes | Lesson id |
title | string | no | Lesson title |
slug | string | no | URL slug (made from the title when omitted) |
type | string | no | Kind of lesson One of: text, video, download. |
content_html | string | no | Lesson body (HTML, sanitized) |
video_id | string | no | Video id (videos tool) for a video lesson |
file_id | string | no | File id (downloads tool) for a download lesson |
module_id | string | no | Module it belongs to (null = none) |
is_preview | boolean | no | Open to everybody without buying |
duration_s | integer | no | Length in seconds |
escalateflow_courses_lesson_delete
Delete a lesson (students' progress on the others is kept)
| Parameter | Type | Required | Description |
|---|---|---|---|
course_id | string | yes | Course id |
lesson_id | string | yes | Lesson id |
escalateflow_courses_reorder
Set the order: every module id and / or every lesson id of the course, in order
| Parameter | Type | Required | Description |
|---|---|---|---|
course_id | string | yes | Course id |
modules | array | no | Module ids in order |
lessons | array | no | Lesson ids in order |
escalateflow_courses_students
Who has access to the course and their progress (give or revoke access with the grants tool, resource_type course)
| Parameter | Type | Required | Description |
|---|---|---|---|
course_id | string | yes | Course id |
legal
escalateflow_legal_get
Stored business details, the legal pages that exist and whether the footer links them
escalateflow_legal_generate
Create the four legal pages and link them in the footer (existing pages are kept unless overwrite)
| Parameter | Type | Required | Description |
|---|---|---|---|
business_name | string | yes | Legal name of the business or person |
tax_id | string | yes | Tax id (NIF / VAT number) |
address | string | yes | Registered address |
email | string | yes | Contact email for legal and privacy requests |
phone | string | no | Contact phone |
registry | string | no | Company registry details, if any |
sells_physical | boolean | no | Sells physical goods (adds shipping and 14-day withdrawal) |
sells_digital | boolean | no | Sells digital content (adds the withdrawal waiver) |
overwrite | boolean | no | Rewrite pages that already exist Default: False. |
stripe
escalateflow_stripe_connect
Connect Stripe to this project by providing API keys from dashboard.stripe.com/apikeys
| Parameter | Type | Required | Description |
|---|---|---|---|
secret_key | string | yes | Stripe Secret Key (sk_test_... or sk_live_...) |
publishable_key | string | no | Stripe Publishable Key (pk_test_... or pk_live_...) |
webhook_secret | string | no | Webhook signing secret (whsec_...) |
default_currency | string | no | Default currency (eur, usd, gbp) Default: eur. |
escalateflow_stripe_status
Check Stripe connection status for this project
escalateflow_stripe_disconnect
Disconnect Stripe account from project
escalateflow_stripe_create_checkout
Create a Stripe Checkout Session for a product
| Parameter | Type | Required | Description |
|---|---|---|---|
product_id | string | yes | Product UUID |
customer_email | string | no | Customer email |
currency | string | no | Currency code (eur, usd) |
success_url | string | no | Redirect URL after payment |
cancel_url | string | no | Redirect URL if cancelled |
escalateflow_stripe_sync_product
Sync a product to the connected Stripe account (creates Product + Price)
| Parameter | Type | Required | Description |
|---|---|---|---|
product_id | string | yes | Product UUID |
escalateflow_stripe_list_orders
DEPRECATED (removed 2026-12-14): use escalateflow_orders_list (same data). List orders for this project
| Parameter | Type | Required | Description |
|---|---|---|---|
status | string | no | Filter by status One of: pending, paid, failed, shipped, delivered, refunded, cancelled. |
payment_method | string | no | Filter by payment method (stripe = card, manual = bank transfer) One of: stripe, manual. |
limit | integer | no | Max results Default: 20. |
escalateflow_stripe_get_order
DEPRECATED (removed 2026-12-14): use escalateflow_orders_get (same data). Get order details
| Parameter | Type | Required | Description |
|---|---|---|---|
order_id | string | yes | Order UUID |
escalateflow_stripe_refund_order
Refund an order via Stripe
| Parameter | Type | Required | Description |
|---|---|---|---|
order_id | string | yes | Order UUID |
amount | string | no | Partial refund amount (omit for full refund) |
escalateflow_stripe_list_subscriptions
List subscriptions for this project
| Parameter | Type | Required | Description |
|---|---|---|---|
status | string | no | Filter by status One of: trialing, active, past_due, paused, cancelled. |
escalateflow_stripe_cancel_subscription
Cancel a subscription
| Parameter | Type | Required | Description |
|---|---|---|---|
subscription_id | string | yes | Subscription UUID |
at_period_end | boolean | no | Cancel at end of billing period (default: true) Default: True. |
health
escalateflow_health_overview
Get project health: page count, form submissions, blog status, products, Stripe, auth, domain
storefront
escalateflow_storefront_bootstrap
Create a ready-to-use e-commerce storefront with sensible defaults. Creates/replaces homepage, enables shop+blog+auth, optionally seeds demo products. Uses platform shortcodes so the resulting HTML is always safe. The shop (Beta) is part of the Scale plan: on a smaller plan this is refused with type 'plan_limit' and required_plan 'scale' — tell the user, do not build a shop another way.
| Parameter | Type | Required | Description |
|---|---|---|---|
hero_headline | string | no | Main headline on the homepage hero Default: Welcome to our shop. |
hero_subheadline | string | no | Supporting text below the hero headline Default: . |
seed_demo_products | boolean | no | Insert 5 demo products if the project has none Default: False. |
enable_blog | boolean | no | Enable the blog app Default: True. |
enable_auth | boolean | no | Enable frontend user accounts (site_users) Default: True. |
automations
escalateflow_automations_list
List automations for the website (optionally filter by trigger_type).
| Parameter | Type | Required | Description |
|---|---|---|---|
trigger_type | string | no | Filter by event type One of: order.paid, order.shipped, order.delivered, order.cancelled, order.refunded, cart.abandoned_1h, subscription.created, subscription.trial_started, subscription.trial_ending_3d, subscription.converted, subscription.renewed, subscription.payment_failed, subscription.cancelled, payment.succeeded, payment.failed, payment.refunded, payment.dispute_opened, payment.dispute_closed, user.registered, page.published. |
escalateflow_automations_health
Form actions and automations of the website that are misconfigured or whose last real run failed (last 7 days): failure/success counts, last error and when.
escalateflow_automations_list_triggers
Return all supported trigger event types.
escalateflow_automations_get
Get a single automation by id.
| Parameter | Type | Required | Description |
|---|---|---|---|
automation_id | string | yes | Automation UUID |
escalateflow_automations_create
Create an automation. config shape depends on action_type: email -> {smtp_id, template_id, to_type: 'field'|'fixed', to_field, to_fixed, cc, bcc} (an SMTP connection and an email template of the site are required, see the email tool; for a plain owner notification use the form's notification_emails instead), webhook -> {url, headers, secret, field_mapping}, http_request -> {url, method, headers, body, timeout, success_codes}. Saving an email action without smtp_id/template_id is rejected.
| Parameter | Type | Required | Description |
|---|---|---|---|
trigger_type | string | yes | Event that fires the automation One of: order.paid, order.shipped, order.delivered, order.cancelled, order.refunded, cart.abandoned_1h, subscription.created, subscription.trial_started, subscription.trial_ending_3d, subscription.converted, subscription.renewed, subscription.payment_failed, subscription.cancelled, payment.succeeded, payment.failed, payment.refunded, payment.dispute_opened, payment.dispute_closed, user.registered, page.published. |
action_type | string | yes | Handler One of: email, webhook, http_request. |
name | string | no | Human-friendly name |
config | object | yes | Handler config (see description) |
conditions | array | no | Optional condition rules |
delay_seconds | integer | no | Delay execution (seconds) Default: 0. |
is_active | boolean | no | Active Default: True. |
timeout_seconds | integer | no | Timeout per attempt Default: 10. |
max_retries | integer | no | Max retries on failure Default: 3. |
escalateflow_automations_update
Update an automation.
| Parameter | Type | Required | Description |
|---|---|---|---|
automation_id | string | yes | Automation UUID |
trigger_type | string | no | Event One of: order.paid, order.shipped, order.delivered, order.cancelled, order.refunded, cart.abandoned_1h, subscription.created, subscription.trial_started, subscription.trial_ending_3d, subscription.converted, subscription.renewed, subscription.payment_failed, subscription.cancelled, payment.succeeded, payment.failed, payment.refunded, payment.dispute_opened, payment.dispute_closed, user.registered, page.published. |
name | string | no | Name |
config | object | no | Handler config |
conditions | array | no | Condition rules |
delay_seconds | integer | no | Delay (seconds) |
is_active | boolean | no | Active |
escalateflow_automations_delete
Delete an automation. System automations cannot be deleted; disable them instead.
| Parameter | Type | Required | Description |
|---|---|---|---|
automation_id | string | yes | Automation UUID |
escalateflow_automations_test
Run the automation immediately with a sample context, without adding a background job.
| Parameter | Type | Required | Description |
|---|---|---|---|
automation_id | string | yes | Automation UUID |
context | object | no | Sample payload (defaults to {email, name}) |
escalateflow_automations_logs
Recent execution logs for an automation.
| Parameter | Type | Required | Description |
|---|---|---|---|
automation_id | string | yes | Automation UUID |
limit | integer | no | Max logs Default: 50. |
theme
escalateflow_theme_get
Return current theme + resolved config (defaults merged) + applied_preset slug.
escalateflow_theme_list_presets
Return all built-in preset definitions with swatches.
escalateflow_theme_apply_preset
Overwrite Website.style_config with a named preset.
| Parameter | Type | Required | Description |
|---|---|---|---|
preset | string | yes | Preset slug One of: bold, default, elegant-serif, minimal-light, modern-dark. |
merge | boolean | no | If true, deep-merge preset over existing config Default: False. |
escalateflow_theme_update
Deep-merge partial config (e.g. `{colors: {primary: '#ff00ff'}}`) onto existing theme.
| Parameter | Type | Required | Description |
|---|---|---|---|
config | object | yes | Partial style_config to merge in |
escalateflow_theme_replace
Replace Website.style_config wholesale with the supplied config (validated).
| Parameter | Type | Required | Description |
|---|---|---|---|
config | object | yes | Full style_config dict |
escalateflow_theme_reset
Clear style_config so defaults apply.
sales
escalateflow_sales_overview
KPI summary: revenue, orders, AOV, refunds, unique customers, cart abandonment / recovery rates.
| Parameter | Type | Required | Description |
|---|---|---|---|
period | string | no | Time window: e.g. '7d', '30d', '90d'. Defaults to 30d. Default: 30d. |
escalateflow_sales_revenue
Day-by-day revenue + order count series for the window. One row per calendar day, including zero-order days.
| Parameter | Type | Required | Description |
|---|---|---|---|
period | string | no | Time window: e.g. '7d', '30d', '90d'. Defaults to 30d. Default: 30d. |
escalateflow_sales_top_products
Top N products by revenue in the window.
| Parameter | Type | Required | Description |
|---|---|---|---|
period | string | no | Time window: e.g. '7d', '30d', '90d'. Defaults to 30d. Default: 30d. |
limit | integer | no | Max products to return (1-100) Default: 10. |
escalateflow_sales_status_breakdown
Order count + total value grouped by status (pending/paid/shipped/delivered/refunded/cancelled/failed).
| Parameter | Type | Required | Description |
|---|---|---|---|
period | string | no | Time window: e.g. '7d', '30d', '90d'. Defaults to 30d. Default: 30d. |
escalateflow_sales_recent_orders
N most recent orders (any status). Independent of date range.
| Parameter | Type | Required | Description |
|---|---|---|---|
limit | integer | no | Max orders to return (1-100) Default: 10. |
coupons
escalateflow_coupons_list
List the shop's discount codes with their usage
| Parameter | Type | Required | Description |
|---|---|---|---|
active_only | boolean | no | Only active coupons Default: False. |
escalateflow_coupons_create
Create a discount code for the checkout (case-insensitive, unique per website). The discount comes off the products subtotal before shipping and tax.
| Parameter | Type | Required | Description |
|---|---|---|---|
code | string | no | Code customers type, e.g. SUMMER10 (letters, numbers, - and _); not needed for automatic discounts |
discount_type | string | no | percent (value = % off, max 100), fixed (value = amount off) or free_shipping (no value) One of: percent, fixed, free_shipping. |
is_automatic | boolean | no | Automatic discount: applies without a code when its conditions hold (needs a title); the larger of code / best automatic applies, free shipping combines |
title | string | no | Name shown to customers (required for automatic discounts) |
value | number | no | Percent off or fixed amount off (in the shop currency) |
is_active | boolean | no | Whether the code can be used |
starts_at | string | no | Optional ISO datetime from which the code is valid |
ends_at | string | no | Optional ISO datetime when the code expires |
min_subtotal | number | no | Optional minimum products subtotal for the code to apply |
max_uses | integer | no | Optional total number of orders that can use the code |
escalateflow_coupons_update
Update a discount code (only the fields given change)
| Parameter | Type | Required | Description |
|---|---|---|---|
coupon_id | string | yes | Coupon ID |
code | string | no | New code |
discount_type | string | no | percent (value = % off, max 100), fixed (value = amount off) or free_shipping (no value) One of: percent, fixed, free_shipping. |
is_automatic | boolean | no | Automatic discount: applies without a code when its conditions hold (needs a title); the larger of code / best automatic applies, free shipping combines |
title | string | no | Name shown to customers (required for automatic discounts) |
value | number | no | Percent off or fixed amount off (in the shop currency) |
is_active | boolean | no | Whether the code can be used |
starts_at | string | no | Optional ISO datetime from which the code is valid |
ends_at | string | no | Optional ISO datetime when the code expires |
min_subtotal | number | no | Optional minimum products subtotal for the code to apply |
max_uses | integer | no | Optional total number of orders that can use the code |
escalateflow_coupons_delete
Delete a discount code (past orders keep the code and discount they used)
| Parameter | Type | Required | Description |
|---|---|---|---|
coupon_id | string | yes | Coupon ID |
storefront_theme
escalateflow_storefront_theme_presets
List the ready-made Storefront v2 looks (esencial: clean and light; tecnologia: electronics / gaming; boutique: fashion, serif; mercado: food / home, rounded)
escalateflow_storefront_theme_apply_preset
Apply a Storefront v2 look: colors, fonts, layout, product cards and header / footer style (logo, menu and texts kept). homepage=true also sets the homepage sections.
| Parameter | Type | Required | Description |
|---|---|---|---|
preset | string | yes | esencial, tecnologia, boutique or mercado |
homepage | boolean | no | Also replace the homepage (index) layout |
escalateflow_storefront_theme_get
Get the Storefront v2 section theme of the shop (Shopify-like theme rendered by the fast engine): stored values, the effective theme with defaults filled in and the available section types
escalateflow_storefront_theme_schema
Describe what a Storefront v2 theme can contain: section types (announcement, hero, featured_products, collection_list, main_collection, main_product, product_reviews, related_products, rich_text, image_with_text, testimonials, trust_badges, newsletter) with their settings, blocks and allowed templates; theme settings (colors, typography, layout, product_card, cart, homepage, header, footer); defaults and limits. Call this before building templates.
escalateflow_storefront_theme_update
Partially update the Storefront v2 theme. settings are merged per group, e.g. {"colors": {"accent": "#0f766e"}, "typography": {"heading_font": "Poppins"}} (null resets a key or group to the default); templates replace the given templates ({"shop": {"sections": [...]}}; null = back to the default template). Section = {type, id ([a-z0-9_-], unique), settings, blocks: [{type, settings}]}.
| Parameter | Type | Required | Description |
|---|---|---|---|
settings | object | no | Theme settings groups to merge: colors, typography, layout, product_card, cart, homepage, header ({source: auto|theme|site, logo_url, logo_text, menu: [{label, url}], show_search, show_account, sticky, layout}), footer ({source, columns: [{heading, links: [{label, url}]}], text, show_payment_icons, copyright}) |
templates | object | no | Templates to replace: shop, collection, product, search, index (the store homepage), each {"sections": [...]} |
escalateflow_storefront_theme_set_template
Replace the sections of one Storefront v2 template (shop = main listing, collection = category page, product = product page, search = search results). shop/collection/search need a main_collection section, product a main_product section (its blocks order the info column: title, price, variant_picker, quantity, buy_buttons, description, features, specs, faq, trust, text).
| Parameter | Type | Required | Description |
|---|---|---|---|
template | string | yes | Template to replace One of: shop, collection, product, search, index. |
sections | array | yes | Sections in display order: [{type, id, settings, blocks}] |
escalateflow_storefront_theme_reset
Reset the storefront theme to the default settings and templates
reviews
escalateflow_reviews_list
List the shop's product reviews, newest first, with counts per status. Use status=pending for the moderation queue
| Parameter | Type | Required | Description |
|---|---|---|---|
status | string | no | Filter by status (default: all) One of: pending, approved, rejected, all. |
product_id | string | no | Only reviews of this product (UUID) |
limit | integer | no | Max reviews (1-100, default 50) Default: 50. |
escalateflow_reviews_moderate
Approve (publish on the storefront) or reject a review; the product rating is recomputed from its approved reviews
| Parameter | Type | Required | Description |
|---|---|---|---|
review_id | string | yes | Review ID |
status | string | yes | New status One of: approved, rejected. |
escalateflow_reviews_delete
Delete a review permanently (the product rating is recomputed)
| Parameter | Type | Required | Description |
|---|---|---|---|
review_id | string | yes | Review ID |
shop_settings
escalateflow_shop_settings_get
Get the shop settings
escalateflow_shop_settings_update
Update shop settings (only the fields given change). Use payment_instructions for the bank transfer details
| Parameter | Type | Required | Description |
|---|---|---|---|
is_enabled | boolean | no | Shop on (catalogue, cart, checkout served) or off (its pages 404). Creating a product turns it on; false turns it off without deleting anything |
payment_instructions | string | no | Bank transfer details (IBAN, account holder, bank...) shown to customers who pay by bank transfer: on the checkout, the order confirmation page and the order email. Plain text, line breaks kept. Empty = no transfer details shown |
order_confirmation_message | string | no | Message shown on the order confirmation page and email |
require_phone | boolean | no | Ask for a phone number at checkout |
tax_rate | number | no | Tax (VAT/IVA) rate in percent, 0-100 |
prices_include_tax | boolean | no | Product prices already include the tax |
currency_code | string | no | ISO currency code, e.g. EUR |
currency_symbol | string | no | Currency symbol, e.g. € |
shop_title | string | no | Shop page title |
shop_description | string | no | Shop page description |
abandoned_cart_emails | boolean | no | Send one recovery email to customers who typed their email at checkout and left without ordering (link restores their cart) |
abandoned_cart_delay_hours | integer | no | Hours after the last checkout activity before that email (1-72, default 1) |
abandoned_cart_consent | string | no | Consent for that email: 'checkbox' (default; only customers who tick 'remind me of my cart by email' at checkout, with proof of consent) or 'none' (every customer who typed their email) One of: checkbox, none. |
returns_enabled | boolean | no | Customers can request returns from their order page |
return_window_days | integer | no | Days after payment / delivery a return can be requested (1-365, 30) |
url_prefix | string | no | URL prefix of the shop pages, e.g. 'tienda' → /tienda/ (default 'shop') |
product_base | string | no | Segment before a product slug, e.g. 'producto' → /tienda/producto/<slug>/ (default 'product') |
category_base | string | no | Segment before a category slug (default 'category') |
layout | string | no | Catalogue layout, e.g. grid |
products_per_page | integer | no | Products per catalogue page |
show_categories | boolean | no | Show the category filter on the catalogue |
hide_out_of_stock_complementary | boolean | no | Hide out-of-stock products from the 'Complete it with' suggestions |
show_announcement | boolean | no | Show the announcement bar |
announcement_text | string | no | Announcement bar text |
announcement_link | string | no | Announcement bar link |
api_allowed_origins | array | no | Origins (https://host[:port], no path, no wildcard; max 20) of external frontends that may read the public catalogue API https://escalateflow.com/api/v1/public/<project_id>/ from the browser (CORS). The site's own subdomain and verified domains are always allowed. [] = none |
shipping
escalateflow_shipping_list
List the shipping zones with their rates
escalateflow_shipping_create_zone
Create a shipping zone, optionally with its rates
| Parameter | Type | Required | Description |
|---|---|---|---|
name | string | yes | Zone name, e.g. Península |
countries | array | no | ISO 3166-1 alpha-2 codes (ES, PT, FR...); empty list = rest of the world (one per website). A country can be in one active zone only. |
position | integer | no | Display order |
is_active | boolean | no | Whether the zone is used at checkout |
rates | array | no | Optional list of rates. Rate object: {name (required), price, min_subtotal, max_subtotal (exclusive), min_weight, max_weight (kg, exclusive), free_over (free from this products subtotal), delivery_estimate, position, is_active} |
escalateflow_shipping_update_zone
Update a zone (only the given fields change)
| Parameter | Type | Required | Description |
|---|---|---|---|
zone_id | integer | yes | Zone ID |
name | string | no | Zone name, e.g. Península |
countries | array | no | ISO 3166-1 alpha-2 codes (ES, PT, FR...); empty list = rest of the world (one per website). A country can be in one active zone only. |
position | integer | no | Display order |
is_active | boolean | no | Whether the zone is used at checkout |
escalateflow_shipping_delete_zone
Delete a zone and its rates
| Parameter | Type | Required | Description |
|---|---|---|---|
zone_id | integer | yes | Zone ID |
escalateflow_shipping_add_rate
Add a rate to a zone
| Parameter | Type | Required | Description |
|---|---|---|---|
zone_id | integer | yes | Zone ID |
name | string | yes | Rate name shown at checkout, e.g. Estándar |
price | number | no | Price in the shop currency (0 = free) |
min_subtotal | number | no | Applies from this products subtotal (after discounts) |
max_subtotal | number | no | Applies below this products subtotal |
min_weight | number | no | Applies from this cart weight (kg) |
max_weight | number | no | Applies below this cart weight (kg) |
free_over | number | no | Free from this products subtotal |
delivery_estimate | string | no | Text for the customer, e.g. 24-48 h |
position | integer | no | Display order |
is_active | boolean | no | Whether the rate is offered |
escalateflow_shipping_update_rate
Update a rate (only the given fields change; null clears a condition)
| Parameter | Type | Required | Description |
|---|---|---|---|
rate_id | integer | yes | Rate ID |
name | string | no | Rate name shown at checkout, e.g. Estándar |
price | number | no | Price in the shop currency (0 = free) |
min_subtotal | number | no | Applies from this products subtotal (after discounts) |
max_subtotal | number | no | Applies below this products subtotal |
min_weight | number | no | Applies from this cart weight (kg) |
max_weight | number | no | Applies below this cart weight (kg) |
free_over | number | no | Free from this products subtotal |
delivery_estimate | string | no | Text for the customer, e.g. 24-48 h |
position | integer | no | Display order |
is_active | boolean | no | Whether the rate is offered |
escalateflow_shipping_delete_rate
Delete a rate
| Parameter | Type | Required | Description |
|---|---|---|---|
rate_id | integer | yes | Rate ID |
escalateflow_shipping_quote
Rates the checkout would offer for a destination and cart
| Parameter | Type | Required | Description |
|---|---|---|---|
country | string | yes | ISO code or country name |
subtotal | number | no | Products subtotal after discounts |
weight | number | no | Cart weight in kg |
escalateflow_shipping_tax_rates
Tax rate by destination country, the shop-wide default rate and whether country rates apply (they need shipping zones)
escalateflow_shipping_set_tax_rates
Replace the tax rates by country ({} clears them). Countries without a rate use the shop-wide tax_rate (shop settings).
| Parameter | Type | Required | Description |
|---|---|---|---|
rates | object | yes | {ISO code or country name: rate percent 0-100}, e.g. {"DE": 19, "FR": 20, "CH": 0} |
escalateflow_shipping_list_pickup
List the in-store pickup locations (#189)
escalateflow_shipping_add_pickup
Add an in-store pickup location offered at checkout
| Parameter | Type | Required | Description |
|---|---|---|---|
name | string | yes | Pickup point name, e.g. Tienda Centro |
address | string | no | Pickup address (free text) |
hours | string | no | Opening hours, e.g. L-V 9-20h |
cost | number | no | Pickup fee in the shop currency (0 = free) |
position | integer | no | Display order |
is_active | boolean | no | Whether it is offered at checkout |
escalateflow_shipping_update_pickup
Update a pickup location (only the given fields change)
| Parameter | Type | Required | Description |
|---|---|---|---|
pickup_id | string | yes | Pickup location ID |
name | string | no | Pickup point name |
address | string | no | Pickup address (free text) |
hours | string | no | Opening hours |
cost | number | no | Pickup fee (0 = free) |
position | integer | no | Display order |
is_active | boolean | no | Whether it is offered at checkout |
escalateflow_shipping_delete_pickup
Delete a pickup location
| Parameter | Type | Required | Description |
|---|---|---|---|
pickup_id | string | yes | Pickup location ID |
collections
escalateflow_collections_list
List the collections
escalateflow_collections_get
A collection with its products
| Parameter | Type | Required | Description |
|---|---|---|---|
collection_id | string | yes | Collection UUID |
limit | integer | no | Products to include (default 50) |
escalateflow_collections_create
Create a collection. Idempotent: a collection with the same slug (or the title's) is returned with already_existed=true
| Parameter | Type | Required | Description |
|---|---|---|---|
title | string | yes | Collection title |
kind | string | no | manual (default) or automatic |
slug | string | no | URL slug (from the title when missing) |
description | string | no | Description (HTML allowed) |
image_url | string | no | Banner image URL |
rules | object | no | Automatic collections: {"match": "all"|"any", "conditions": [{"field", "op", "value"}]}. Fields: tag (equals/not_equals), vendor, product_type, title (equals/not_equals/contains/not_contains), category (slug, subcategories included; equals/not_equals), price, compare_at_price (gt/lt/equals), on_sale (equals true/false), metafield (with "key": "specs.ram"; equals/not_equals/gt/lt/gte/lte). |
product_ids | array | no | Manual collections: product UUIDs in display order (replaces the list) |
sort_order | string | no | manual, newest, price_asc, price_desc or name |
is_published | boolean | no | Visible on the storefront |
position | integer | no | Display order among collections |
seo_title | string | no | SEO title |
seo_description | string | no | SEO description |
metafields | object | no | Collection custom fields {"namespace.key": value} (null deletes) |
escalateflow_collections_update
Update a collection (only the given fields change; kind is fixed)
| Parameter | Type | Required | Description |
|---|---|---|---|
collection_id | string | yes | Collection UUID |
title | string | no | Collection title |
slug | string | no | URL slug (from the title when missing) |
description | string | no | Description (HTML allowed) |
image_url | string | no | Banner image URL |
rules | object | no | Automatic collections: {"match": "all"|"any", "conditions": [{"field", "op", "value"}]}. Fields: tag (equals/not_equals), vendor, product_type, title (equals/not_equals/contains/not_contains), category (slug, subcategories included; equals/not_equals), price, compare_at_price (gt/lt/equals), on_sale (equals true/false), metafield (with "key": "specs.ram"; equals/not_equals/gt/lt/gte/lte). |
product_ids | array | no | Manual collections: product UUIDs in display order (replaces the list) |
sort_order | string | no | manual, newest, price_asc, price_desc or name |
is_published | boolean | no | Visible on the storefront |
position | integer | no | Display order among collections |
seo_title | string | no | SEO title |
seo_description | string | no | SEO description |
metafields | object | no | Collection custom fields {"namespace.key": value} (null deletes) |
escalateflow_collections_delete
Delete a collection (products stay)
| Parameter | Type | Required | Description |
|---|---|---|---|
collection_id | string | yes | Collection UUID |
gift_cards
escalateflow_gift_cards_list
List gift cards
| Parameter | Type | Required | Description |
|---|---|---|---|
q | string | no | Code (or its last characters) or customer email |
usable | boolean | no | Only active, unexpired cards with balance |
escalateflow_gift_cards_get
A gift card with its balance changes
| Parameter | Type | Required | Description |
|---|---|---|---|
gift_card_id | string | yes | Gift card UUID |
escalateflow_gift_cards_create
Issue a gift card
| Parameter | Type | Required | Description |
|---|---|---|---|
value | number | yes | Initial balance (0.01-10000) |
code | string | no | Own code (8-32 letters/digits); generated if missing |
expires_at | string | no | YYYY-MM-DD, or empty for no expiry |
customer_email | string | no | Who the card is for |
note | string | no | Internal note |
is_active | boolean | no | false disables the card |
escalateflow_gift_cards_update
Update expiry, email, note or active flag
| Parameter | Type | Required | Description |
|---|---|---|---|
gift_card_id | string | yes | Gift card UUID |
expires_at | string | no | YYYY-MM-DD, or empty for no expiry |
customer_email | string | no | Who the card is for |
note | string | no | Internal note |
is_active | boolean | no | false disables the card |
escalateflow_gift_cards_adjust
Add (positive) or take (negative) balance
| Parameter | Type | Required | Description |
|---|---|---|---|
gift_card_id | string | yes | Gift card UUID |
amount | number | yes | Amount to add or take |
note | string | no | Why |
draft_orders
escalateflow_draft_orders_list
List draft orders
| Parameter | Type | Required | Description |
|---|---|---|---|
status | string | no | open, invoice_sent, completed or cancelled |
escalateflow_draft_orders_get
A draft order with its totals
| Parameter | Type | Required | Description |
|---|---|---|---|
draft_order_id | string | yes | Draft order UUID |
escalateflow_draft_orders_create
Create a draft order
| Parameter | Type | Required | Description |
|---|---|---|---|
lines | array | yes | List of lines: catalogue {"product_id", "variant_id"?, "quantity", "price"? (overrides the product price)} or custom {"title", "price", "quantity", "taxable"?} |
discount | number | no | Amount off the products |
discount_label | string | no | Discount label shown to the customer |
shipping_cost | number | no | Shipping cost |
shipping_method | string | no | Shipping method name |
customer_name | string | no | Customer name |
customer_email | string | no | Customer email |
customer_phone | string | no | Customer phone |
shipping_address | string | no | Street address |
shipping_city | string | no | City |
shipping_postal_code | string | no | Postal code |
shipping_country | string | no | Country (name or ISO code) |
note | string | no | Internal note |
escalateflow_draft_orders_update
Update a draft (lines replaces all lines)
| Parameter | Type | Required | Description |
|---|---|---|---|
draft_order_id | string | yes | Draft order UUID |
lines | array | no | List of lines: catalogue {"product_id", "variant_id"?, "quantity", "price"? (overrides the product price)} or custom {"title", "price", "quantity", "taxable"?} |
discount | number | no | Amount off the products |
discount_label | string | no | Discount label shown to the customer |
shipping_cost | number | no | Shipping cost |
shipping_method | string | no | Shipping method name |
customer_name | string | no | Customer name |
customer_email | string | no | Customer email |
customer_phone | string | no | Customer phone |
shipping_address | string | no | Street address |
shipping_city | string | no | City |
shipping_postal_code | string | no | Postal code |
shipping_country | string | no | Country (name or ISO code) |
note | string | no | Internal note |
escalateflow_draft_orders_complete
Turn the draft into a real order (stock, emails)
| Parameter | Type | Required | Description |
|---|---|---|---|
draft_order_id | string | yes | Draft order UUID |
paid | boolean | no | Already paid (otherwise pending payment) |
escalateflow_draft_orders_delete
Delete a draft that isn't completed
| Parameter | Type | Required | Description |
|---|---|---|---|
draft_order_id | string | yes | Draft order UUID |
returns
escalateflow_returns_list
List returns
| Parameter | Type | Required | Description |
|---|---|---|---|
status | string | no | requested, approved, declined, received, refunded |
order_number | string | no | Only this order's returns |
escalateflow_returns_get
A return
| Parameter | Type | Required | Description |
|---|---|---|---|
return_id | string | yes | Return UUID |
escalateflow_returns_create
Create a return for an order
| Parameter | Type | Required | Description |
|---|---|---|---|
order_number | string | yes | Order number |
lines | array | yes | [{"order_item_id", "quantity"}] |
reason | string | no | Reason |
escalateflow_returns_approve
Approve a return (note emailed to the customer)
| Parameter | Type | Required | Description |
|---|---|---|---|
return_id | string | yes | Return UUID |
note | string | no | Instructions for the customer |
escalateflow_returns_decline
Decline a return (note emailed to the customer)
| Parameter | Type | Required | Description |
|---|---|---|---|
return_id | string | yes | Return UUID |
note | string | no | Why |
escalateflow_returns_receive
Mark the returned items received
| Parameter | Type | Required | Description |
|---|---|---|---|
return_id | string | yes | Return UUID |
restock | boolean | no | Put the items back in stock (default true) |
escalateflow_returns_refund
Refund a return (Stripe for card orders)
| Parameter | Type | Required | Description |
|---|---|---|---|
return_id | string | yes | Return UUID |
amount | number | no | Amount (default the returned lines' price) |
orders
escalateflow_orders_list
Most recent orders
| Parameter | Type | Required | Description |
|---|---|---|---|
status | string | no | Only this status One of: pending, paid, shipped, delivered, cancelled, refunded, failed. |
payment_method | string | no | Only this payment method (stripe = card, manual = bank transfer) One of: stripe, manual. |
limit | integer | no | Max orders (1-100) Default: 20. |
escalateflow_orders_get
One order with its items
| Parameter | Type | Required | Description |
|---|---|---|---|
order_id | string | no | Order UUID |
order_number | string | no | Order number, e.g. NUC-20261018-AB12CD (alternative to id) |
escalateflow_orders_abandoned_checkouts
Checkouts left after the customer typed their email (recovery emails: shop setting abandoned_cart_emails), with status open/emailed/recovered/converted
| Parameter | Type | Required | Description |
|---|---|---|---|
status | string | no | Only this status One of: open, emailed, recovered, converted. |
limit | integer | no | Max rows (1-200) Default: 50. |
escalateflow_orders_update
Update an order's status and tracking. Setting status 'shipped' emails the customer once (in the site language) with the tracking number and link; changing the tracking number of a shipped order emails the corrected one. notify_customer=false: no email.
| Parameter | Type | Required | Description |
|---|---|---|---|
order_id | string | no | Order UUID |
order_number | string | no | Order number, e.g. NUC-20261018-AB12CD (alternative to id) |
status | string | no | New status One of: pending, paid, shipped, delivered, cancelled, refunded, failed. |
tracking_number | string | no | Carrier tracking number |
carrier | string | no | Carrier name (Correos, SEUR, DHL, UPS...). For DHL, UPS, FedEx and USPS the tracking link is built automatically |
tracking_url | string | no | Tracking link (http/https) |
notify_customer | boolean | no | Email the customer (default true) Default: True. |
admin_notes | string | no | Internal notes |
balance_received | boolean | no | The balance an edit added to a paid order (balance_due) was collected: the customer is no longer asked for it |
escalateflow_orders_edit
Edit a pending / paid order before shipping: change quantities (0 removes a line), add catalogue or custom lines, change the shipping cost. Stock and totals follow; for a paid order the difference is returned as balance_due / refund_due.
| Parameter | Type | Required | Description |
|---|---|---|---|
order_id | string | no | Order UUID |
order_number | string | no | Order number, e.g. NUC-20261018-AB12CD (alternative to id) |
changes | array | no | [{"order_item_id", "quantity"}] |
add | array | no | [{"product_id", "variant_id"?, "quantity", "price"?}] or [{"title", "price", "quantity"}] |
shipping_cost | number | no | New shipping cost |
reason | string | no | Why (kept in the edit history) |
metafields
escalateflow_metafields_list_definitions
List the metafield definitions
| Parameter | Type | Required | Description |
|---|---|---|---|
owner_type | string | no | product, variant or collection |
escalateflow_metafields_define
Create a definition, or update the one with the same owner_type + namespace + key
| Parameter | Type | Required | Description |
|---|---|---|---|
namespace | string | yes | Group, e.g. specs (lowercase, digits, _) |
key | string | yes | Field key, e.g. ram (lowercase, digits, _) |
name | string | yes | Label shown on the storefront, e.g. RAM |
type | string | yes | single_line_text, multi_line_text, rich_text, integer, decimal, boolean, date, date_time, url, file_reference, color (#rrggbb), money {amount, currency_code}, rating, weight / dimension / volume {value, unit}, product_reference, collection_reference, json, and list.<type> (list.single_line_text, list.integer, ...) |
owner_type | string | no | product (default), variant or collection |
description | string | no | Help text |
validations | object | no | Optional: {"min", "max", "unit": "GB", "choices": [...], "max_length", "regex", "units": ["kg"], "scale_max": 5, "max_items"} |
storefront_visible | boolean | no | Show on the product page spec table and in the public API. Default false (private): set true for what shoppers see (the 'specs' namespace) |
filterable | boolean | no | Usable in storefront filters and facets |
position | integer | no | Display order |
escalateflow_metafields_delete_definition
Delete a definition and its values
| Parameter | Type | Required | Description |
|---|---|---|---|
definition_id | string | yes | Definition UUID |
escalateflow_metafields_set
Set values in bulk, atomically (all or nothing; null deletes)
| Parameter | Type | Required | Description |
|---|---|---|---|
metafields | array | yes | List of {"owner_type": "product", "owner_id": "<uuid>", "key": "specs.ram", "value": 16} (max 250) |
escalateflow_metafields_suggest
Propose definitions from the products' technical_specs (or attributes)
| Parameter | Type | Required | Description |
|---|---|---|---|
source | string | no | technical_specs (default) or attributes |
namespace | string | no | Namespace for the suggestions (default specs) |
escalateflow_metafields_import_specs
Copy technical_specs / attributes values into metafields, converted to their type
| Parameter | Type | Required | Description |
|---|---|---|---|
mapping | object | yes | {"RAM": "specs.ram"} |
source | string | no | technical_specs (default) or attributes |
overwrite | boolean | no | Replace existing metafield values |
remove_source | boolean | no | Delete converted labels from technical_specs (no duplicate rows) |
dry_run | boolean | no | Report without saving |
documents
escalateflow_documents_upload
Upload a PDF from a public URL (preferred) or base64 and get its public link. Only plain PDFs: JavaScript, attachments, launch actions or passwords are refused.
| Parameter | Type | Required | Description |
|---|---|---|---|
url | string | no | Public https URL of the PDF |
file_base64 | string | no | The PDF in base64 (up to 7 MB) |
filename | string | no | File name, for display |
title | string | no | Title shown in the viewer (default: from the file name) |
slug | string | no | Link: /public/docs/<slug>/ (lowercase letters, numbers, dashes) |
description | string | no | Short description (shown on the email form) |
allow_download | boolean | no | Show a Download button Default: True. |
require_email | boolean | no | Ask for the reader's email before showing it (lead capture) Default: False. |
is_published | boolean | no | False hides the link (404) without deleting Default: True. |
escalateflow_documents_list
List the website's documents with views and downloads of the last 30 days
escalateflow_documents_get
One document with reading statistics: views, unique readers, downloads, emails, average read time, completion rate, readers and seconds per page, sources, countries
| Parameter | Type | Required | Description |
|---|---|---|---|
document_id | string | yes | Document ID |
days | integer | no | Period: 7, 30, 90 or 365 Default: 30. |
escalateflow_documents_update
Change a document's title, link, description or options
| Parameter | Type | Required | Description |
|---|---|---|---|
document_id | string | yes | Document ID |
title | string | no | Title shown in the viewer (default: from the file name) |
slug | string | no | Link: /public/docs/<slug>/ (lowercase letters, numbers, dashes) |
description | string | no | Short description (shown on the email form) |
allow_download | boolean | no | Show a Download button Default: True. |
require_email | boolean | no | Ask for the reader's email before showing it (lead capture) Default: False. |
is_published | boolean | no | False hides the link (404) without deleting Default: True. |
escalateflow_documents_replace
Replace a document's file keeping its link and statistics
| Parameter | Type | Required | Description |
|---|---|---|---|
document_id | string | yes | Document ID |
url | string | no | Public https URL of the new PDF |
file_base64 | string | no | The new PDF in base64 |
filename | string | no | File name, for display |
escalateflow_documents_delete
Delete a document: its link stops working and its statistics are removed
| Parameter | Type | Required | Description |
|---|---|---|---|
document_id | string | yes | Document ID |
storage
escalateflow_storage_cloudinary_status
Whether the account's own Cloudinary is connected: cloud_name, masked api_key, folder, last check, uploads and a warning when uploads had to fall back to the platform storage. Applies to every website of the account. Never returns the secret.
escalateflow_storage_cloudinary_connect
Connect (or replace) the account's own Cloudinary so new images of all its websites are stored there (panel, API and MCP uploads). The keys are checked with Cloudinary before they are saved; bad keys are refused with the reason. Videos and documents are not affected.
| Parameter | Type | Required | Description |
|---|---|---|---|
cloud_name | string | yes | Cloud name (Cloudinary console, top of Settings → API Keys) |
api_key | string | yes | API key (digits) |
api_secret | string | yes | API secret (stored encrypted, never returned) |
default_folder | string | no | Folder in Cloudinary; each website gets a sub-folder Default: escalateflow. |
escalateflow_storage_cloudinary_test
Check the stored Cloudinary keys again (for example after a warning). Changes nothing but the recorded result of the check.
escalateflow_storage_cloudinary_disconnect
Disconnect the account's Cloudinary: the keys are deleted and new images go to the platform storage again. Images already in Cloudinary stay there and keep working.
funnels
escalateflow_funnels_list
The website's funnels (id, name, kind flow|journey, active, steps)
escalateflow_funnels_get
One funnel with its flow (steps and connections)
| Parameter | Type | Required | Description |
|---|---|---|---|
funnel_id | string | yes | The funnel's id |
escalateflow_funnels_templates
Ready-made funnels to start from (create with template=<id>)
escalateflow_funnels_create
New funnel: from a template, from a flow, or empty. flow = {"nodes": [{"id": "signup", "type": "form", "title": "Sign-up", "config": {"form": "378838d8"}, "position": [x, y], "paused": false}, ...], "edges": [{"from": "landing", "to": "signup"}, ...]}. Types and config: source {platform: meta|google|tiktok|linkedin|email|other, utm_campaign, utm_source, rest: true for every other source}; page {path}; form {form: id or its first 8 characters}; confirm {form, optional: the form of the previous steps}; event {event, path}; email {action, form}; purchase {}; goal {goal}; survey {form: a smart form, counted by its segment}; ads_event {event: CompleteRegistration, Lead..., form}: sign-ups whose event the form's rules sent to the ad platforms. A source may take campaign_id (the ad campaign: its spend and clicks). Ids: lowercase letters, digits, - and _. Connections go one way (no loops).
| Parameter | Type | Required | Description |
|---|---|---|---|
name | string | yes | Name of the funnel |
template | string | no | Template id (see templates) |
flow | object | no | The flow definition |
description | string | no | Description |
escalateflow_funnels_update
Change the flow (the whole definition), the name, or pause / resume the funnel (is_active=false stops counting it; nothing changes in the website). flow = {"nodes": [{"id": "signup", "type": "form", "title": "Sign-up", "config": {"form": "378838d8"}, "position": [x, y], "paused": false}, ...], "edges": [{"from": "landing", "to": "signup"}, ...]}. Types and config: source {platform: meta|google|tiktok|linkedin|email|other, utm_campaign, utm_source, rest: true for every other source}; page {path}; form {form: id or its first 8 characters}; confirm {form, optional: the form of the previous steps}; event {event, path}; email {action, form}; purchase {}; goal {goal}; survey {form: a smart form, counted by its segment}; ads_event {event: CompleteRegistration, Lead..., form}: sign-ups whose event the form's rules sent to the ad platforms. A source may take campaign_id (the ad campaign: its spend and clicks). Ids: lowercase letters, digits, - and _. Connections go one way (no loops).
| Parameter | Type | Required | Description |
|---|---|---|---|
funnel_id | string | yes | The funnel's id |
flow | object | no | The new flow definition |
name | string | no | New name |
is_active | boolean | no | false pauses the funnel, true resumes it |
escalateflow_funnels_stats
Live numbers of every step: people (real people only: no bots, no test traffic), previous, rate_prev (% that goes on), lost, cost_per_person (Meta spend when imported), the A/B test of a page (leader, enough_sample, people_needed), and for `step` (an id or *) the breakdown by ad, platform and device and the latest sign-ups (emails masked). Also `excluded` (bots and test visits left out)
| Parameter | Type | Required | Description |
|---|---|---|---|
funnel_id | string | yes | The funnel's id |
period | string | no | Last N days as 'Nd' (e.g. 30d) Default: 30d. |
date_from | string | no | Start date YYYY-MM-DD; wins over period |
date_to | string | no | End date YYYY-MM-DD (inclusive) |
step | string | no | A step id (or *) for its breakdowns |
include_test | boolean | no | Also count test traffic Default: False. |
escalateflow_funnels_export
The funnel as JSON (forms and goals carry their names) to import it on another website
| Parameter | Type | Required | Description |
|---|---|---|---|
funnel_id | string | yes | The funnel's id |
escalateflow_funnels_import
Create a funnel from exported JSON on this website: a form / goal is the one with the same id or name here, a page keeps its path. `to_map` lists the steps whose form, goal or page still has to be chosen (then update the flow)
| Parameter | Type | Required | Description |
|---|---|---|---|
funnel | object | yes | The JSON of export |
name | string | no | Name (default: the exported one) |
escalateflow_funnels_duplicate
Copy the funnel on this website, or on another website of the account (target_project_id), mapped there like an import
| Parameter | Type | Required | Description |
|---|---|---|---|
funnel_id | string | yes | The funnel's id |
target_project_id | string | no | Another website of the account |
name | string | no | Name of the copy |
escalateflow_funnels_delete
Delete the funnel (the website's pages and data stay)
| Parameter | Type | Required | Description |
|---|---|---|---|
funnel_id | string | yes | The funnel's id |
api_keys
escalateflow_api_keys_list
The API keys of the account: name, prefix, what each may do (preset, key_type, scopes), the projects it is limited to, when it was last used and when it expires. The value of a key is never returned. A key limited to some projects sees only the keys limited to those projects. To change a key's permissions use the dashboard (Settings → API keys) or PATCH /api/v1/keys/<id>/ with an unrestricted secret key.
escalateflow_api_keys_list_permissions
Every permission an API key can hold ('<resource>:read' / '<resource>:write', write includes read), grouped as the dashboard shows them, and the presets (full, readonly, marketing).