Skip to main content

Overview

The Automated Flow is designed for fully automated POS system integrations where widget sessions are triggered in real-time based on transaction events—without the need for manual input from the operator. This enables seamless customer engagement during the checkout process.

Check POS Settings

Before starting a transaction, the POS system must check whether marketing transactions are enabled for the specific POS system.

Headers

Path Parameters

Response Fields

object
POS system configuration settings
If isTransactionsEnabled is false, the POS system should not send any transactions to ClearLine.

Start a New Interaction

Start a new session between the POS system and the marketing platform. This creates a session identifier that will be used to track the transaction flow.

Headers

Path Parameters

Request Body

Response Fields

object
Session initialization data

Send Transaction Details

Send a completed POS transaction to the marketing platform. This action may trigger the execution of a widget session automatically based on configured POS rules.

Headers

Path Parameters

Request Body

Response Fields

object
Transaction processing result with triggered marketing actions

Validate Coupon by Transaction

Validate coupons associated with a specific POS transaction within a marketing campaign session. This endpoint confirms coupon usage and records it in the system.

Headers

Path Parameters

Request Body

Coupon User Object

Response Fields

string
Overall POS status: Accepted, Disabled, or NotAvailable
object
Coupon validation result

Next Steps

Manual Flow

Implement manual widget selection flow

Checkout Integration Flow

View complete integration workflow

Transaction API

Explore transaction endpoints

Coupon API

Learn about coupon validation