Skip to content

stevedoesitall/api-test-tool_v2

Repository files navigation

Academy Days Test Tool

Stack: Vanilla JS, Node.js, Express.js

Description: This tool allows Sailthru clients to mimic an API POST to the user, event, content, and purchase endpoints, as well as cart and browse abandon entries.

User API

Enter your email address plus one of the pre-set Master Lists to trigger a Lifecycle Optimizer "List Joined" flow. You can optionally set a single user variable as well.

Event API

Enter your email address plus an event name to trigger a Lifecycle Optimizer "Custom Event" flow. You can optionally set a single event variable as well.

Content API

Enter your URL and title to automatically publish a piece of content to Sailthru. You can optionally set a single content variable, tags, and an image URL as well.

Purchase API

Enter your email address plus an item URL, title, price, and quantity to either post a complete or incomplete purchase. ou can optionally set a single purchase variable, tags, and an image URL as well. Clicking "Purchase" can trigger a Lifecycle Optimizer "Purchase Made" flow; clicking "Add to Cart" will add an item to the user's cart (does not trigger a flow); clicking "Return" will return the item (this leverages the /return endpoint, not the /purchase endpoint).

Send API

Enter your email and select a template to automatically trigger a template. You can optional pass a single send variable, CC, BCC, reply-to, and behalf of email. This lets you trigger a Transactional Send flow in Lifecycle Optimizer, and subsequently Transactional Open and Click flows.

Cart Abandon

Enter your email address to kick off a Lifecycle Optimizer "Cart Abandoned" flow. The email address you enter will be automatically cookied and log a pageview, as well as have a pre-set item added to its cart.

Browse Abandon

Enter your email address to kick off a Lifecycle Optimizer "Browse Abandoned" flow. The email address you enter will be automatically cookied and log a pageview, but not item will be added to its cart.

About

No description or website provided.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published