Attentive
Attentive's custom events work best when your subscribers are opted in to SMS. Customers identified only by email will still match in Attentive, but SMS messages will only send to opted-in subscribers.
Setup
Step 1: Create an API key in Attentive
- In Attentive, go to Settings → API → Private API Keys.
- Click Create API key.
- Give it a name (e.g. "Stashlist") and select the Custom Events scope.
- Copy the generated key. You will paste it into Stashlist.
Step 2: Connect in Stashlist
- In your Shopify admin, go to Apps → Stashlist → Integrations → Attentive.
- Paste your API key and click Connect.
Step 3: Build a journey in Attentive
- In Attentive, go to Journeys → Create Journey.
- Choose Custom Event as the trigger.
- Select the event subtype you want to act on (e.g.
wishlist_price_drop). - Add SMS or email message steps using the event properties as merge tags.
Events reference
Stashlist sends these events to Attentive. Each is a CustomEvent with a subtype property that identifies the action.
subtype When it fires
wishlist_add A logged-in customer saves a product to their wishlist wishlist_remove A logged-in customer removes a product from their wishlist wishlist_price_drop A wishlisted product's price drops by 10% or more (default, configurable in Stashlist → Integrations) wishlist_back_in_stock An out-of-stock wishlisted product becomes available again wishlist_low_in_stock Inventory for a wishlisted product drops below 5 units (default, configurable) Payload properties
Every event is a JSON POST to https://api.attentivemobile.com/v1/events/custom with Authorization: Bearer {apiKey}. The properties object contains:
Property Description
subtype Event type (see table above) productId Shopify product ID (numeric string) variantId Shopify variant ID (numeric string) variantTitle The specific variant saved, e.g. "Blue / Large" productUrl Full storefront URL of the product imageUrl Product image URL price Product price as a decimal string at the time of the event newPrice New (dropped) price (wishlist_price_drop only) inventoryCount Current inventory count (wishlist_low_in_stock only) The user object contains the customer's email and, when available, their Shopify customer ID as externalIdentifiers.shopifyId. The items array carries the product details in Attentive's standard product schema.
What Attentive can do with these events
- Price drop SMS: send an immediate text to subscribers when a wishlisted product drops in price, with a direct link to buy.
- Back in stock alerts: automatically notify customers when a sold-out item they saved becomes available.
- Low inventory urgency: fire a "selling fast" message when inventory on a wishlisted item drops below 5 units.
- Post-save nurture: start a journey when a customer adds a product, send a follow-up if they haven't purchased within a set time.
- Segments: build audiences of customers who have wishlisted products from a specific collection or brand.