Skip to main content

skrybe autoresponders

Autoresponders and their emails. ares is an alias: skrybe ares emails 3 works the same.

Create autoresponders and add emails to them here (@skrybe/cli 0.3.0 or newer). Edit, turn on or off, and delete them in the web app.

Autoresponder IDs and autoresponder email IDs are the plain integers the web app shows.

CommandDescription
autorespondersShow the autoresponders
autoresponders emailsAn autoresponder's emails, in the order they go out
autoresponders statsReport for one autoresponder email
autoresponders createCreate an autoresponder on a list
autoresponders add-emailAdd an email to an autoresponder

autoresponders​

skrybe autoresponders [--list <list-id>]
skrybe autoresponders ls [--list <list-id>]

Shows the brand's autoresponders. ls and list are aliases for the bare command.

FlagDescription
--list <list-id>Only this list's autoresponders
ID  NAME             TYPE                 EMAILS  LIST
3 Welcome series drip 3/4 on l7763lkC1Ld892Ty4p3pvxw
5 Birthday annually (Birthday) 1/1 on l7763lkC1Ld892Ty4p3pvxw

TYPE is one of:

  • drip: each email goes a set time after someone joins the list.
  • annually: goes every year on the date in a date custom field (shown in brackets).
  • on date: goes once, on the date in a date custom field.

EMAILS shows how many of the autoresponder's emails are turned on.

API: api/autoresponders/get-autoresponders.php

autoresponders emails​

skrybe autoresponders emails <autoresponder-id>

Lists an autoresponder's emails in the order they go out, with when each one goes (for example immediately or +3 days), whether it is on, how many it has been sent to, and its subject.

Welcome series: drip, 3 of 4 emails on.
ID WHEN ON SENT SUBJECT
11 immediately yes 1,204 Welcome to Acme
12 +3 days yes 1,150 Getting started

The first line goes to stderr. --output json prints the autoresponder with its emails in an email_list array.

API: api/autoresponders/get-autoresponder-emails.php

autoresponders stats​

skrybe autoresponders stats <email-id>

Shows the report for one autoresponder email, using the email ID from autoresponders emails: recipients, opens, clicks, hard and soft bounces, complaints, unsubscribes, and clicks per link. The layout matches campaigns stats.

skrybe autoresponders stats 11

API: api/autoresponders/autoresponder-stats.php

autoresponders create​

skrybe autoresponders create <name> --list <list-id> [--type drip|annually|on_date] [--field <date-field>]

Creates an autoresponder with no emails and prints its ID on stdout. Add emails with autoresponders add-email.

FlagDescription
--list <list-id>The list it belongs to. Required
--type <type>drip (the default), annually or on_date. See TYPE
--field <name>The list's date custom field an annually or on_date autoresponder sends on, e.g. Birthday. Required for those types; not allowed for drip
skrybe autoresponders create 'Birthday treat' --list l7763lkC1Ld892Ty4p3pvxw \
--type annually --field Birthday
Created autoresponder "Birthday treat": annually (Birthday).
12

The first line goes to stderr. As in the web app, a list can have one drip autoresponder, and each date field can drive one autoresponder; a second one fails with autoresponder_exists. A field that isn't a date fails with field_not_date; lists fields shows which fields are dates.

API: api/autoresponders/create-autoresponder.php

autoresponders add-email​

skrybe autoresponders add-email <autoresponder-id> --subject <subject> --html-text <html|file://path> [flags]

Adds an email to an autoresponder and prints its ID on stdout.

FlagDescription
--subject <subject>Subject line. Required. Personalization tags work, e.g. [Name,fallback=friend]
--html-text <html\|file://path>HTML body, or file:// a path to it. Required
--plain-text <text\|file://path>Plain text body, or file:// a path to it
--preheader <text>Preview text shown after the subject in the inbox
--when <when>When it goes. See below
--from-name <name>The From name. Defaults to the brand's
--from-email <email>The From address. Defaults to the brand's, and must use one of its sending domains
--reply-to <email>The Reply-to address. Defaults to the brand's
--enableTurn the email on now

--when depends on the autoresponder's type:

  • drip: immediately (the default), or a delay after joining such as +3 days.
  • annually and on_date: on (midnight on the date, the default), or an offset such as +9 hours (9am on the date) or -1 days (the day before).

Units are minutes, hours, days, weeks or months.

skrybe autoresponders add-email 12 --when '+9 hours' \
--subject 'Happy birthday, [Name,fallback=friend]!' \
--html-text file://birthday.html
Added email 31 (+9 hours). It is off: turn it on in the Skrybe UI, or re-create it with --enable.
31

New emails are off unless you pass --enable, as in the web app. That lets a script or an AI agent draft an email for a person to review and turn on.

API: api/autoresponders/create-autoresponder-email.php