Recipe
Subscription Cancellation Request
This recipe creates a sender inbox, sends the cancellation request, and lists recent outbound email so the request is visible from the CLI.
Email
Set vendor variables
Define the vendor support address and the product or subscription name.
Set vendor variables
export VENDOR_EMAIL="support@service.example"
export SUBSCRIPTION_NAME="Example Pro"Create the sender inbox
Create a dedicated inbox for account and cancellation requests.
Create the sender inbox
ACCOUNT_INBOX=$(spix --json email inbox create \
--username account-help \
--name "Personal Agent" \
| jq -r '.data.address')Send the cancellation email
Send a direct cancellation request to the vendor from the new inbox.
Send the cancellation email
spix --json email send \
--sender "$ACCOUNT_INBOX" \
--to "$VENDOR_EMAIL" \
--subject "Cancel my $SUBSCRIPTION_NAME subscription" \
--body "Hello, please cancel my $SUBSCRIPTION_NAME subscription at the end of the current billing period and confirm once the cancellation is complete."Inspect the outbound email log
List recent outbound emails so the request is visible from the CLI.
Inspect the outbound email log
spix --json email list \
--direction outbound \
--limit 10Build your own recipe
Install Spix, then adapt this recipe to your own flow.
Use the docs to adjust the playbook goal, numbers, inboxes, and follow-up messages for your own contacts and channels.