Enscale Docs
Automation

What an automation can do

Every step you can add to a workflow — sending messages, updating Shopify, looking things up, waiting, and branching.

Steps are what happens after something kicks your automation off. Send a message, wait two days, check a condition, look up an order, hand the conversation to a person.

The builder groups them into five drawers on the left: Message, Instagram, Shopify, Integration and Utilities.

Sending messages

StepWhat it does
Template MessageSends a WhatsApp message Meta approved in advance
Service MessageSends a normal, free-typed message on any channel

The difference between these two matters more than anything else on this page.

Template Message uses wording Meta signed off in advance, and can be sent at any time. Use it to start a conversation — an order update, a review request, a campaign.

Service Message is free-typed and can only be delivered within 24 hours of the customer's last message. Use it to continue a conversation the customer started, or one your template already opened.

If your automation opens with a Service Message on anything other than a conversation trigger, it will not deliver. Nobody messaged you, so no 24-hour window is open.

Start with a Template Message instead. The builder warns you before you publish.

Instagram

StepWhat it does
Reply to CommentPosts a public reply under the comment
Send Instagram DMSends them a private message
Hide CommentHides it from public view
Like CommentLikes it

These need an Instagram trigger, so there's a comment to act on. The classic pairing — reply publicly, then DM the details — is covered in Instagram comment automation.

Changing things in Shopify

StepWhat it does
Add / Remove TagTags a contact, an order, or a customer
Cancel OrderCancels a pending order
Update MetafieldSets a custom field value
Add Order NoteAdds a note to the order
Add to SegmentPuts the contact in an audience
Remove from SegmentTakes them out of one
Duplicate OrderCreates a draft order from an existing one, with a pay-now link
Add Order DiscountDiscounts every item on an order
Remove Order DiscountStrips discounts off an order
Set WhatsApp ConsentRecords that a customer opted in or out

Duplicate Order is what powers COD-to-prepaid conversion: duplicate the order, get a payment link, message it to the customer.

Set WhatsApp Consent sits under Utilities rather than Shopify, because it writes to the Enscale contact rather than to Shopify.

Consent is a record of what happened, not a shortcut

Use Set WhatsApp Consent to record consent the customer actually gave — a reply to an opt-in prompt, a checkout checkbox, a popup submission.

Setting opt-in on someone who never agreed will get your WhatsApp number flagged by Meta. You'd also be creating a false record that says they consented, which is the opposite of what this feature is for.

Looking things up

These fetch data and make it available to every step that follows.

StepWhat it does
Fetch OrderLooks up an order in full
Fetch ProductLooks up a product
Recommend ProductFinds something that pairs with what they bought
Fetch CollectionLooks up a collection
Fetch Order CheckoutGets totals, discounts and shipping address from an order
Fetch review linkBuilds a verified "leave a review" link

Three things worth knowing:

  • Fetch Order Checkout needs an order, not a checkout. It queries orders, so it can't look up an abandoned checkout. Pairing it with a checkout trigger gives you a not-found error.
  • Recommend Product defaults to the first item in the order, which is what you want for most post-purchase upsells.
  • Fetch review link produces a verified link tied to that customer and product. That's what makes the review display as a confirmed purchase — and verified reviews convert better than anonymous ones.

Integrations

StepWhat it does
RazorpayCreates a payment link and gives you the URL

Needs credentials set up first — see Integrations.

The common COD-to-prepaid flow is Create Razorpay Payment Link followed by a template message containing it. Offering a small discount for paying upfront (say ₹100 off a ₹2,400 order) often costs less than the refused-delivery rate on COD.

Waiting, branching, and everything else

StepWhat it does
ConditionSplits the flow based on a check
Wait / DelayPauses for a fixed time
Wait for EventWaits for something to happen, or gives up
LoopRepeats steps once per item in a list
Format linkTags a URL for tracking, and shortens it
Save VariableStores a value to reuse later in the flow
Save DataSaves data permanently, or records a review
Assign to AgentHands the conversation to a person or an AI agent

Condition

The workhorse. Enscale gives you raw events and expects you to narrow them here — that's how "abandoned cart" and "order delivered" get built. See the recipes.

Wait vs Wait for Event — the one worth understanding

Wait is a fixed pause: "two days, then carry on."

Wait for Event is conditional: "wait up to 24 hours for them to place an order. If they do, go this way. If they don't, go that way." It matches the event to this specific customer's flow, so it only reacts to their behaviour.

That makes Wait for Event the right choice for any recovery sequence, because you can stop chasing someone the moment they buy. With a plain Wait, your second reminder goes out regardless — including to the customer who already paid ten minutes ago, which is a genuinely annoying experience.

Loop

Runs its steps once per item in a list — every product in an order, for instance. Stops at 50 items by default so an unusually large order can't run away with your allowance.

Always use this instead of pasting a raw URL. It tags links so workflow-driven traffic shows up properly in Revenue attribution — a raw pasted link is invisible there, and you'll conclude your automations earn nothing.

Assign to Agent

Hands the conversation to a person or an AI agent. Use it at the end of a flow that's gathered enough for someone to take over, or to escalate when a condition suggests the customer is unhappy.

What's available on which plan

Every step is available on every plan. The only exception is routing to an AI agent through Assign to Agent, which needs AI agents — a paid-plan feature.

See Plans and limits.

Next steps

On this page