hermosodocs

set_shopify_cart_recovery

Set up abandoned-checkout recovery

Area: SHOPIFY: the merchant's own storefront · Publishing & scheduling. Generated from the running MCP server, like the rest of the tool reference.

Description

Turn real-time abandoned-checkout recovery on or off for this brand's Shopify store. Once on, Shopify tells Hermoso of every checkout as it happens; a checkout idle for delayMinutes (default 60) with no order fires ONE recovery. action "sequence" saves the buyer as a contact and enrols them in `sequence` (an id from list_email_sequences; steps may be email, sms, whatsapp, instagram or facebook), with the cart as merge fields {{cart_url}}, {{cart_items}}, {{cart_total}}, {{cart_item_count}}, {{greeting_name}} (the first name, or "there" when Shopify has none; {{first_name}} skips a nameless buyer), and {{discount_code}} / {{discount_url}} when discountCode is set. "alert" sends the event shopify.checkout_abandoned to the brand's Slack, Discord or webhook (set_alert_events group carts) for your own agent to act on; "both" does both. An order for the checkout (or by the same buyer) cancels a pending recovery and stops the sequence. consent "marketing" (default) uses an email or phone only when the buyer accepted marketing on it in Shopify; "any" uses whatever the checkout carries. A sequence with email steps needs listConfirmed:true. Read back from Shopify. Free.

Parameters

ParameterTypeDescription
enabledbooleantrue turns recovery on, false off
delayMinutesnumberhow long a checkout sits idle before the recovery fires: 1 to 10080, default 60
action"sequence" | "alert" | "both"sequence (default), alert, or both
sequencestringthe sequence id to enrol buyers in (list_email_sequences)
discountCodestringthe store's discount code to offer ({{discount_code}}, {{discount_url}}); "" removes it
consent"marketing" | "any"marketing (default) or any
minTotalnumberno recovery for a cart below this total (0 = every cart)
attributionDaysnumber1-30, default 7: an order by the same buyer this long after a recovery counts as recovered
listConfirmedbooleantrue confirms the people reached are the store's own shoppers (needed for a sequence with email steps)

Example call

Every required parameter is shown, filled from the schema where it gives a value and otherwise with a placeholder naming the type. Replace the placeholders with real values. The same call works on the MCP server, the CLI and POST https://app.hermoso.ai/v1/tools/set_shopify_cart_recovery.

MCP (tools/call)

{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"set_shopify_cart_recovery","arguments":{}}}

CLI

hermoso call set_shopify_cart_recovery --json '{}'

Credits

Credits are spent only on two things: running an AI model (image, video, voice, text, planning, post-production) and Ad Spy research. See Credits & costs.

All 728 Publishing & scheduling tools · tools.json