Forms
Sign-up forms (double opt-in): builder settings, embed code, history.
Technická referencia je v angličtine (rovnako ako strojovo čitateľný dokument OpenAPI). Celú skupinu pre AI agenta načítate z /api/openapi.json?tag=Forms.
Prihlásenie: Authorization: Bearer pst_... alebo HTTP Basic (e-mail člena firmy a API kľúč).
Operácie
| Metóda | Cesta | Popis |
|---|---|---|
| GET | /api/v1/tenants/{tenant}/forms | List forms |
| POST | /api/v1/tenants/{tenant}/forms | Create a form |
| GET | /api/v1/tenants/{tenant}/forms/doi-templates | List templates usable as the double opt-in e-mail |
| POST | /api/v1/tenants/{tenant}/forms/preview | Render a form preview |
| POST | /api/v1/tenants/{tenant}/forms/tags | Change labels of forms |
| GET | /api/v1/tenants/{tenant}/forms/{form_id} | Get a form |
| PATCH | /api/v1/tenants/{tenant}/forms/{form_id} | Update a form |
| DELETE | /api/v1/tenants/{tenant}/forms/{form_id} | Delete a form |
| POST | /api/v1/tenants/{tenant}/forms/{form_id}/copy | Copy a form |
| GET | /api/v1/tenants/{tenant}/forms/{form_id}/embed | Get the embed code of a form |
| GET | /api/v1/tenants/{tenant}/forms/{form_id}/history | Change history of a form |
| GET | /api/v1/tenants/{tenant}/forms/{form_id}/welcome | Get the e-mail after a sign-up (the form's own automation) |
| PUT | /api/v1/tenants/{tenant}/forms/{form_id}/welcome | Switch the e-mail after a sign-up on or off |
List forms
GET /api/v1/tenants/{tenant}/forms
Oprávnenie: modul content, úroveň read; kľúč s prístupom read alebo full · Nástroj MCP: list_forms
Sign-up forms (classic or popup).
Parametre
| Názov | Kde | Typ | Povinné | Popis |
|---|---|---|---|---|
tenant | path | string (uuid) | áno | Public id of the company (tenant), a UUID: GET /api/v3/account-info answers it as data.guid; the app shows it on the API keys page. |
tag | query | string | nie | Label filter; repeat for more labels. |
Odpovede
- 200 OK:
application/jsonobject
Chyby
| Stav | Kód | Hodnoty message |
|---|---|---|
| 400 | validation | tag |
| 401 | 401 unauthorized: missing, unknown, revoked, expired or idle API key. | |
| 403 | 403 forbidden: message tenant (another company), scope (read-only key), api_key (person only), or the module the key's roles lack. | |
| 429 | 429 rate_limited: wait Retry-After seconds. |
Create a form
POST /api/v1/tenants/{tenant}/forms
Oprávnenie: modul content, úroveň full; kľúč s prístupom full · Nástroj MCP: create_form
Creates a double opt-in sign-up form.
Parametre
| Názov | Kde | Typ | Povinné | Popis |
|---|---|---|---|---|
tenant | path | string (uuid) | áno | Public id of the company (tenant), a UUID: GET /api/v3/account-info answers it as data.guid; the app shows it on the API keys page. |
Telo požiadavky (application/json)
| Pole | Typ | Povinné | Popis |
|---|---|---|---|
name | string | áno | |
shopId | string | áno | |
status | one of: active, inactive | nie | |
fields | array of FormField | nie | |
listIds | array of string | áno | |
purposeId | string or null | áno | |
consentText | string | áno | |
title | string | nie | |
description | string | nie | |
submitLabel | string | nie | |
successUrl | string | nie | |
confirmedUrl | string | nie | |
captcha | boolean | nie | |
kind | one of: classic, popup, slide | nie | |
popup | object or null | nie | Pop-up settings, completed with POPUP_DEFAULTS; ignored for a classic form. |
design | object | nie | |
settings | object | nie | |
tags | array of string | nie |
Odpovede
- 201 Created:
application/jsonFormDetail
Chyby
| Stav | Kód | Hodnoty message |
|---|---|---|
| 400 | validation | |
| 401 | 401 unauthorized: missing, unknown, revoked, expired or idle API key. | |
| 403 | 403 forbidden: message tenant (another company), scope (read-only key), api_key (person only), or the module the key's roles lack. | |
| 404 | not_found | |
| 429 | 429 rate_limited: wait Retry-After seconds. |
List templates usable as the double opt-in e-mail
GET /api/v1/tenants/{tenant}/forms/doi-templates
Oprávnenie: modul content, úroveň read; kľúč s prístupom read alebo full
E-mail templates with the confirmation link ({{confirmlink}}) a form may send as its double opt-in.
Parametre
| Názov | Kde | Typ | Povinné | Popis |
|---|---|---|---|---|
tenant | path | string (uuid) | áno | Public id of the company (tenant), a UUID: GET /api/v3/account-info answers it as data.guid; the app shows it on the API keys page. |
Odpovede
- 200 OK:
application/jsonobject
Chyby
| Stav | Kód | Hodnoty message |
|---|---|---|
| 401 | 401 unauthorized: missing, unknown, revoked, expired or idle API key. | |
| 403 | 403 forbidden: message tenant (another company), scope (read-only key), api_key (person only), or the module the key's roles lack. | |
| 429 | 429 rate_limited: wait Retry-After seconds. |
Render a form preview
POST /api/v1/tenants/{tenant}/forms/preview
Oprávnenie: modul content, úroveň read; kľúč s prístupom read alebo full
Parametre
| Názov | Kde | Typ | Povinné | Popis |
|---|---|---|---|---|
tenant | path | string (uuid) | áno | Public id of the company (tenant), a UUID: GET /api/v3/account-info answers it as data.guid; the app shows it on the API keys page. |
Telo požiadavky (application/json)
| Pole | Typ | Povinné | Popis |
|---|---|---|---|
name | string | nie | |
shopId | string | nie | |
status | one of: active, inactive | nie | |
fields | array of FormField | nie | |
listIds | array of string | nie | |
purposeId | string or null | nie | |
consentText | string | nie | |
title | string | nie | |
description | string | nie | |
submitLabel | string | nie | |
successUrl | string | nie | |
confirmedUrl | string | nie | |
captcha | boolean | nie | |
kind | one of: classic, popup, slide | nie | |
popup | object or null | nie | Pop-up settings, completed with POPUP_DEFAULTS; ignored for a classic form. |
design | object | nie | |
settings | object | nie | |
tags | array of string | nie |
Odpovede
- 200 OK:
application/jsonobject
Chyby
| Stav | Kód | Hodnoty message |
|---|---|---|
| 400 | validation | |
| 401 | 401 unauthorized: missing, unknown, revoked, expired or idle API key. | |
| 403 | 403 forbidden: message tenant (another company), scope (read-only key), api_key (person only), or the module the key's roles lack. | |
| 429 | 429 rate_limited: wait Retry-After seconds. |
Change labels of forms
POST /api/v1/tenants/{tenant}/forms/tags
Oprávnenie: modul content, úroveň full; kľúč s prístupom full
Parametre
| Názov | Kde | Typ | Povinné | Popis |
|---|---|---|---|---|
tenant | path | string (uuid) | áno | Public id of the company (tenant), a UUID: GET /api/v3/account-info answers it as data.guid; the app shows it on the API keys page. |
Telo požiadavky (application/json): Required by the server: ids.
| Pole | Typ | Povinné | Popis |
|---|---|---|---|
ids | array of string | áno | |
add | array of string | nie | |
remove | array of string | nie | |
tags | array of string | nie |
Odpovede
- 200 OK:
application/jsonobject
Chyby
| Stav | Kód | Hodnoty message |
|---|---|---|
| 400 | validation | ids |
| 401 | 401 unauthorized: missing, unknown, revoked, expired or idle API key. | |
| 403 | 403 forbidden: message tenant (another company), scope (read-only key), api_key (person only), or the module the key's roles lack. | |
| 429 | 429 rate_limited: wait Retry-After seconds. |
Get a form
GET /api/v1/tenants/{tenant}/forms/{form_id}
Oprávnenie: modul content, úroveň read; kľúč s prístupom read alebo full · Nástroj MCP: get_form
One form with its fields, consent text and public address.
Parametre
| Názov | Kde | Typ | Povinné | Popis |
|---|---|---|---|---|
tenant | path | string (uuid) | áno | Public id of the company (tenant), a UUID: GET /api/v3/account-info answers it as data.guid; the app shows it on the API keys page. |
form_id | path | string | áno | Id of the form (string of digits). |
Odpovede
- 200 OK:
application/jsonFormDetail
Chyby
| Stav | Kód | Hodnoty message |
|---|---|---|
| 400 | validation | |
| 401 | 401 unauthorized: missing, unknown, revoked, expired or idle API key. | |
| 403 | 403 forbidden: message tenant (another company), scope (read-only key), api_key (person only), or the module the key's roles lack. | |
| 404 | not_found | |
| 429 | 429 rate_limited: wait Retry-After seconds. |
Update a form
PATCH /api/v1/tenants/{tenant}/forms/{form_id}
Oprávnenie: modul content, úroveň full; kľúč s prístupom full · Nástroj MCP: update_form
Changes a form.
Parametre
| Názov | Kde | Typ | Povinné | Popis |
|---|---|---|---|---|
tenant | path | string (uuid) | áno | Public id of the company (tenant), a UUID: GET /api/v3/account-info answers it as data.guid; the app shows it on the API keys page. |
form_id | path | string | áno | Id of the form (string of digits). |
Telo požiadavky (application/json)
| Pole | Typ | Povinné | Popis |
|---|---|---|---|
name | string | nie | |
shopId | string | nie | |
status | one of: active, inactive | nie | |
fields | array of FormField | nie | |
listIds | array of string | nie | |
purposeId | string or null | nie | |
consentText | string | nie | |
title | string | nie | |
description | string | nie | |
submitLabel | string | nie | |
successUrl | string | nie | |
confirmedUrl | string | nie | |
captcha | boolean | nie | |
kind | one of: classic, popup, slide | nie | |
popup | object or null | nie | Pop-up settings, completed with POPUP_DEFAULTS; ignored for a classic form. |
design | object | nie | |
settings | object | nie | |
tags | array of string | nie |
Odpovede
- 200 OK:
application/jsonFormDetail
Chyby
| Stav | Kód | Hodnoty message |
|---|---|---|
| 400 | validation | |
| 401 | 401 unauthorized: missing, unknown, revoked, expired or idle API key. | |
| 403 | 403 forbidden: message tenant (another company), scope (read-only key), api_key (person only), or the module the key's roles lack. | |
| 404 | not_found | |
| 429 | 429 rate_limited: wait Retry-After seconds. |
Delete a form
DELETE /api/v1/tenants/{tenant}/forms/{form_id}
Oprávnenie: modul content, úroveň full; kľúč s prístupom full · Nástroj MCP: delete_form (cez MCP len s náhľadom a potvrdením)
Deletes a form (its address stops working).
Parametre
| Názov | Kde | Typ | Povinné | Popis |
|---|---|---|---|---|
tenant | path | string (uuid) | áno | Public id of the company (tenant), a UUID: GET /api/v3/account-info answers it as data.guid; the app shows it on the API keys page. |
form_id | path | string | áno | Id of the form (string of digits). |
Odpovede
- 204 No content
Chyby
| Stav | Kód | Hodnoty message |
|---|---|---|
| 400 | validation | |
| 401 | 401 unauthorized: missing, unknown, revoked, expired or idle API key. | |
| 403 | 403 forbidden: message tenant (another company), scope (read-only key), api_key (person only), or the module the key's roles lack. | |
| 404 | not_found | |
| 429 | 429 rate_limited: wait Retry-After seconds. |
Copy a form
POST /api/v1/tenants/{tenant}/forms/{form_id}/copy
Oprávnenie: modul content, úroveň full; kľúč s prístupom full
Vytvořit kopii formuláře: an inactive copy with a free name.
Parametre
| Názov | Kde | Typ | Povinné | Popis |
|---|---|---|---|---|
tenant | path | string (uuid) | áno | Public id of the company (tenant), a UUID: GET /api/v3/account-info answers it as data.guid; the app shows it on the API keys page. |
form_id | path | string | áno | Id of the form (string of digits). |
Telo požiadavky (application/json)
object
Odpovede
- 201 Created:
application/jsonFormDetail
Chyby
| Stav | Kód | Hodnoty message |
|---|---|---|
| 400 | validation | |
| 401 | 401 unauthorized: missing, unknown, revoked, expired or idle API key. | |
| 403 | 403 forbidden: message tenant (another company), scope (read-only key), api_key (person only), or the module the key's roles lack. | |
| 404 | not_found | |
| 429 | 429 rate_limited: wait Retry-After seconds. |
Get the embed code of a form
GET /api/v1/tenants/{tenant}/forms/{form_id}/embed
Oprávnenie: modul content, úroveň read; kľúč s prístupom read alebo full
The codes of Vložit do stránky: script (JavaScript, always current), url (Odkaz na webový formulář), styled (HTML), html (Minimální HTML).
Parametre
| Názov | Kde | Typ | Povinné | Popis |
|---|---|---|---|---|
tenant | path | string (uuid) | áno | Public id of the company (tenant), a UUID: GET /api/v3/account-info answers it as data.guid; the app shows it on the API keys page. |
form_id | path | string | áno | Id of the form (string of digits). |
Odpovede
- 200 OK:
application/jsonFormEmbed
Chyby
| Stav | Kód | Hodnoty message |
|---|---|---|
| 400 | validation | |
| 401 | 401 unauthorized: missing, unknown, revoked, expired or idle API key. | |
| 403 | 403 forbidden: message tenant (another company), scope (read-only key), api_key (person only), or the module the key's roles lack. | |
| 404 | not_found | |
| 429 | 429 rate_limited: wait Retry-After seconds. |
Change history of a form
GET /api/v1/tenants/{tenant}/forms/{form_id}/history
Oprávnenie: modul content, úroveň read; kľúč s prístupom read alebo full
Historie vyplnění: the sign-ups of a form, newest first (?q= address, ?filledFrom= and ?filledTo= calendar days of the tenant, ?page=, ?pageSize=, ?sort=).
Parametre
| Názov | Kde | Typ | Povinné | Popis |
|---|---|---|---|---|
tenant | path | string (uuid) | áno | Public id of the company (tenant), a UUID: GET /api/v3/account-info answers it as data.guid; the app shows it on the API keys page. |
form_id | path | string | áno | Id of the form (string of digits). |
filledFrom | query | string | nie | |
filledTo | query | string | nie | |
page | query | integer | nie | Page number, from 1. default 1, min 1 |
pageSize | query | integer | nie | Items per page, 1 to 100. default 25, min 1, max 100 |
q | query | string | nie | Search text (case and diacritics insensitive). max 200 chars |
sort | query | string | nie | Sort fields separated by commas, "-" = descending, at most 3 (e.g. name,-id). |
Odpovede
- 200 OK:
application/jsonobject
Chyby
| Stav | Kód | Hodnoty message |
|---|---|---|
| 400 | validation | filledTo, page |
| 401 | 401 unauthorized: missing, unknown, revoked, expired or idle API key. | |
| 403 | 403 forbidden: message tenant (another company), scope (read-only key), api_key (person only), or the module the key's roles lack. | |
| 404 | not_found | |
| 429 | 429 rate_limited: wait Retry-After seconds. |
Get the e-mail after a sign-up (the form's own automation)
GET /api/v1/tenants/{tenant}/forms/{form_id}/welcome
Oprávnenie: modul content, úroveň read; kľúč s prístupom read alebo full
E-mail po přihlášení (core/form_welcome.py): the form's own automation and its e-mail, the coupon tags of the template (?templateId= another template to check before saving) and the shop's coupon stacks.
Parametre
| Názov | Kde | Typ | Povinné | Popis |
|---|---|---|---|---|
tenant | path | string (uuid) | áno | Public id of the company (tenant), a UUID: GET /api/v3/account-info answers it as data.guid; the app shows it on the API keys page. |
form_id | path | string | áno | Id of the form (string of digits). |
templateId | query | string | nie |
Odpovede
- 200 OK:
application/jsonFormWelcome
Chyby
| Stav | Kód | Hodnoty message |
|---|---|---|
| 400 | validation | |
| 401 | 401 unauthorized: missing, unknown, revoked, expired or idle API key. | |
| 403 | 403 forbidden: message tenant (another company), scope (read-only key), api_key (person only), or the module the key's roles lack. | |
| 404 | not_found | |
| 429 | 429 rate_limited: wait Retry-After seconds. |
Switch the e-mail after a sign-up on or off
PUT /api/v1/tenants/{tenant}/forms/{form_id}/welcome
Oprávnenie: modul campaigns, úroveň full; kľúč s prístupom full
Switches the e-mail after a sign-up on (creates or adopts the form's automation, saves its e-mail and starts it) or off (pauses it). Module campaigns: it runs an automation.
Parametre
| Názov | Kde | Typ | Povinné | Popis |
|---|---|---|---|---|
tenant | path | string (uuid) | áno | Public id of the company (tenant), a UUID: GET /api/v3/account-info answers it as data.guid; the app shows it on the API keys page. |
form_id | path | string | áno | Id of the form (string of digits). |
Telo požiadavky (application/json)
| Pole | Typ | Povinné | Popis |
|---|---|---|---|
enabled | boolean | áno | |
templateId | string or null | nie | |
senderId | string or null | nie | |
senderName | string | nie | |
replyTo | string | nie | |
couponStackId | string or null | nie |
Odpovede
- 200 OK:
application/jsonFormWelcome
Chyby
| Stav | Kód | Hodnoty message |
|---|---|---|
| 400 | validation | |
| 401 | 401 unauthorized: missing, unknown, revoked, expired or idle API key. | |
| 403 | 403 forbidden: message tenant (another company), scope (read-only key), api_key (person only), or the module the key's roles lack. | |
| 404 | not_found | |
| 409 | conflict | welcome.custom |
| 429 | 429 rate_limited: wait Retry-After seconds. |
Schémy
AutomationStatus
one of: active, draft, paused
DoiTemplate
An e-mail template with {{confirmlink}} a form may send as its double opt-in.
| Pole | Typ | Povinné | Popis |
|---|---|---|---|
id | string | áno | |
name | string | áno |
Error
| Pole | Typ | Povinné | Popis |
|---|---|---|---|
error | object | áno |
{
"error": {
"code": "validation",
"message": "email"
}
}FormDesign
Vzhled (step 2): core/form_builder.py DESIGN_DEFAULTS.
| Pole | Typ | Povinné | Popis |
|---|---|---|---|
template | FormTemplate | áno | |
style | string | áno | <category>-<colour> of formStyles.json. |
width | number | áno | |
image | string | áno | https address of the picture, '' = none. |
imagePosition | one of: top, aside | áno | |
showTitle | boolean | áno | |
showText | boolean | áno | |
titleColor | string | áno | #rrggbb or '' (the style's colour). |
textColor | string | áno | |
buttonColor | string | áno | |
buttonTextColor | string | áno | |
font | FormFont | áno | Písmo (core/form_builder.FONTS): fonts every device has. |
titleSize | number | áno | px, 14 to 48 / 12 to 28 (core/form_builder.SIZE_LIMITS). |
textSize | number | áno |
FormDetail
| Pole | Typ | Povinné | Popis |
|---|---|---|---|
popup | PopupSettings or null | áno | Pop-up and slide-in forms only. |
scriptUrl | string or null | áno | <hostedUrl>/popup.js for a pop-up or slide-in, else null. |
fields | array of FormField | áno | The e-mail address is always there, first and required. |
consentText | string | áno | The operator's text next to the required check box (consentMode checkbox). |
consentVersion | number | áno | Grows with every change of the consent text; each sign-up records the exact text and version. |
title | string | áno | |
description | string | áno | |
submitLabel | string | áno | Empty = the default label in the shop's language. |
successUrl | string | áno | https:// or empty (the thank-you page). |
confirmedUrl | string | áno | |
captcha | boolean | áno | Only with a verifier of the platform (none yet: 400 captcha). |
hostedUrl | string | áno | https://<link domain of the shop>/f/<tenant id>/<publicId> |
design | FormDesign | áno | |
settings | FormSettings | áno | |
id | string | áno | |
name | string | áno | |
shopId | string | áno | |
status | one of: active, inactive | áno | inactive = the form takes no sign-ups (its page answers 410). |
listIds | array of string | áno | |
purposeId | string or null | áno | null = Bez účelu zpracování. |
createdAt | string | áno | |
updatedAt | string | áno | |
kind | FormKind | áno | classic = in the page; popup = a dialog of popup.js; slide = Vyjíždějící (a button of popup.js opens it). |
tags | array of string | áno | |
fills | number | áno | Number of sign-ups (Historie vyplnění). |
publicId | string | áno | |
previewUrl | string | áno | hostedUrl?preview=1: Náhled webového formuláře (works for an inactive form too). |
FormEmbed
| Pole | Typ | Povinné | Popis |
|---|---|---|---|
html | string | áno | Minimální HTML: inputs only, no style and no script. |
styled | string | áno | HTML: the styled form (step 2) with its CSS; re-paste after a change. |
url | string | áno | Odkaz na webový formulář. |
script | string | áno | JavaScript: popup.js of a pop-up or slide-in, form.js of a classic form (always current). |
FormExtraPurpose
| Pole | Typ | Povinné | Popis |
|---|---|---|---|
purposeId | string | áno | |
label | string | áno | |
linkText | string | áno | |
linkUrl | string | áno |
FormField
| Pole | Typ | Povinné | Popis |
|---|---|---|---|
field | FormFieldName | áno | |
required | boolean | áno | |
label | string | nie | Empty = the default label (catalogue or custom field name). |
error | string | nie | Empty = the default message. |
placeholder | string | nie | Předvyplněný text (placeholder). |
FormFieldName
FormFill
A sign-up of Historie vyplnění.
| Pole | Typ | Povinné | Popis |
|---|---|---|---|
id | string | áno | |
contactId | string or null | áno | |
email | string | áno | |
filledAt | string | áno | |
pageUrl | string | áno | |
affiliate | string | áno |
FormFont
one of: arial, verdana, tahoma, trebuchet, georgia, times, courier
FormInput
| Pole | Typ | Povinné | Popis |
|---|---|---|---|
name | string | áno | |
shopId | string | áno | |
status | one of: active, inactive | nie | |
fields | array of FormField | nie | |
listIds | array of string | áno | |
purposeId | string or null | áno | |
consentText | string | áno | |
title | string | nie | |
description | string | nie | |
submitLabel | string | nie | |
successUrl | string | nie | |
confirmedUrl | string | nie | |
captcha | boolean | nie | |
kind | one of: classic, popup, slide | nie | |
popup | object or null | nie | Pop-up settings, completed with POPUP_DEFAULTS; ignored for a classic form. |
design | object | nie | |
settings | object | nie | |
tags | array of string | nie |
FormKind
one of: classic, popup, slide
FormSettings
Nastavení (step 3) and Přiřadit účely zpracování: core/form_builder.py SETTINGS_DEFAULTS.
| Pole | Typ | Povinné | Popis |
|---|---|---|---|
existingMode | one of: error, update, keep | áno | |
errorUrl | string | áno | |
notify | array of string | áno | |
newTab | boolean | áno | |
keepParams | boolean | áno | |
affiliateParam | string | áno | |
thanksHtml | string | áno | |
typoCheck | boolean | áno | |
doi | boolean | áno | |
doiTemplateId | string or null | áno | |
senderName | string | áno | |
senderEmail | string | áno | |
replyTo | string | áno | |
doiAfter | one of: redirect, thanks | áno | |
doiThanksHtml | string | áno | |
consentMode | one of: text, checkbox | áno | checkbox = a required check box with consentText; text = SmartEmailing's information text with a link. |
consentLabel | string | áno | |
consentLinkText | string | áno | |
consentLinkUrl | string | áno | |
extraPurposes | array of FormExtraPurpose | áno |
FormSummary
| Pole | Typ | Povinné | Popis |
|---|---|---|---|
id | string | áno | |
name | string | áno | |
shopId | string | áno | |
status | one of: active, inactive | áno | inactive = the form takes no sign-ups (its page answers 410). |
listIds | array of string | áno | |
purposeId | string or null | áno | null = Bez účelu zpracování. |
createdAt | string | áno | |
updatedAt | string | áno | |
kind | FormKind | áno | classic = in the page; popup = a dialog of popup.js; slide = Vyjíždějící (a button of popup.js opens it). |
tags | array of string | áno | |
fills | number | áno | Number of sign-ups (Historie vyplnění). |
publicId | string | áno | |
previewUrl | string | áno | hostedUrl?preview=1: Náhled webového formuláře (works for an inactive form too). |
FormTemplate
one of: classic, popup, slide, popup-image, popup-image-aside, slide-image
FormWelcome
E-mail po přihlášení (core/form_welcome.py): the form's own automation (trigger form_submitted of the form, each contact once, one send_email node).
| Pole | Typ | Povinné | Popis |
|---|---|---|---|
enabled | boolean | áno | The own automation runs. |
automation | object or null | áno | custom = changed in the automation editor (more nodes): shown only, edited there. |
templateId | string or null | áno | |
senderId | string or null | áno | |
senderName | string | áno | |
replyTo | string | áno | |
template | object or null | áno | The template asked for (?templateId=) or the automation's one, with the coupon keys it carries. |
couponStackId | string or null | áno | The stack whose tag the template carries. |
stacks | array of FormWelcomeStack | áno | |
others | array of object | áno | Other automations started by this form. |
FormWelcomeInput
| Pole | Typ | Povinné | Popis |
|---|---|---|---|
enabled | boolean | áno | |
templateId | string or null | nie | |
senderId | string or null | nie | |
senderName | string | nie | |
replyTo | string | nie | |
couponStackId | string or null | nie |
FormWelcomeStack
A coupon stack offered for E-mail po přihlášení (its tag in the template gives every subscriber one code).
| Pole | Typ | Povinné | Popis |
|---|---|---|---|
id | string | áno | |
name | string | áno | |
mergeKey | string | áno | |
tag | string | áno | {{coupon_<mergeKey>}} |
free | number | áno | |
low | boolean | áno | 50 or fewer free codes. |
GridTagsInput
Bulk label change: add and remove, or tags = the new labels of every row.
| Pole | Typ | Povinné | Popis |
|---|---|---|---|
ids | array of string | áno | |
add | array of string | nie | |
remove | array of string | nie | |
tags | array of string | nie |
PopupAfter
one of: redirect, thanks, close
PopupRepeat
one of: days, session, browser
PopupSettings
Settings of a pop-up or slide-in form (core/form_popup.py).
| Pole | Typ | Povinné | Popis |
|---|---|---|---|
trigger | PopupTrigger | áno | |
delaySeconds | number | áno | delay: 1 to 600 seconds after the page is ready. |
scrollUnit | one of: percent, pixels | áno | scroll in % of the page (10 to 100) or in pixels from the top (1 to 20000, SmartEmailing). |
scrollPercent | number | áno | |
scrollPixels | number | áno | |
repeat | PopupRepeat | áno | session = after closing hidden for the browser session, never after a sign-up; browser = again in the next session, a sign-up too; days = hidden for repeatDays (1 to 365) after closing. |
repeatDays | number | áno | |
after | PopupAfter | áno | thanks = Děkovací okno (the thank-you message in the same dialog, closes itself after closeSeconds); close = Bez děkovací stránky (the dialog closes at once, "Hotovo" shows for 2 s); redirect needs successUrl (the whole page goes there after the sign-up). |
closeSeconds | number | áno | Děkovací okno closes itself after 0 to 60 seconds, 0 = stays open until the visitor closes it. |
delayScope | one of: page, site | áno | site = the delay counts time on the whole e-shop across page views; page = each page starts again. |
mobile | one of: off, sheet | áno | sheet = a bottom sheet on phones and tablets; off = never there (SmartEmailing's recommended default). |
side | one of: left, right | áno | Slide-in: the button at the bottom right or left. |
skipLoggedIn | boolean | áno | Never for a signed-in Shoptet customer (dataLayer). |
skipFromEmail | boolean | áno | Never for visitors from a Poštárna e-mail (marker parameter emailParam or utm_source in emailSources), 365 days. |
emailParam | string | áno | |
emailSources | array of string | áno | |
skipAfterOrder | boolean | áno | Never after an order (thank-you page address contains one of orderPatterns), 365 days. |
orderPatterns | array of string | áno | |
excludePatterns | array of string | áno | Never on addresses containing one of these (cart, checkout). |
PopupTrigger
one of: load, delay, scroll