Subrise Subscriptions Documentation for Shopify
Launch App
  • 🌎User Guides
    • πŸ‘‹Getting started with Subrise Subscriptions
    • 🎞️Dashboard Overview
      • πŸ“ŠReports
    • βš“Subscription Setup
      • πŸ‘ΎCreating your Subscription Plan
      • πŸ“™Managing your Subscription
    • πŸ› οΈSettings
      • Integrations
        • Attentive Integration
        • Shopify Flow
        • Klaviyo Integration
        • Zapier Integration
        • Mailchimp Integration
        • Google Sheets Integration
      • Notifications
      • Tags
      • Webhooks
      • Customer Portal
      • Support
    • ☸️Theme Extension
    • ❔FAQ
  • πŸ’»api-docs
    • πŸŒ„Getting Started
    • πŸ”‘Authentication
    • ♻️Subscriptions
      • 🟒GET
      • 🟠UPDATE
      • πŸ”΄DELETE
    • 🍘Products
    • πŸ“ƒSubscription Plans
    • ☺️Customers
    • πŸͺ΅Fields & Events
Powered by GitBook
On this page
  • Log into your Existing Attentive Account
  • Head to your Marketplace page in Attentive to create a new app
  • Create a Custom App named Subrise Subscriptions
  • Grab the API Key From The Subrise App
  • Head to the Subrise App, and go to Settings Tab
  • Set Up a New Attentive Journey
  • Choose from one of our Many Subrise Event Triggers
  • You are now connected to Attentive through Subrise!
  • Datatypes and Events
  • Events
  • New Subscription Payload
  • New Subscriber Payload
  • Subscription Cancelled Payload
  • Subscription Modified
  • Upcoming Invoice Payload
  • Failed Transaction Payload
  • Successful Payment Payload
  • Pause Subscription Payload
  • Reactivated Subscription Payload
  • Prepaid Subscription Payload
  • Addon Subscription Payload

Was this helpful?

  1. User Guides
  2. Settings
  3. Integrations

Attentive Integration

Follow the steps below to setup the Attentive Integration.

PreviousIntegrationsNextShopify Flow

Last updated 9 months ago

Was this helpful?

Log into your Existing Attentive Account

Head to your Marketplace page in Attentive to create a new app

Create a Custom App named Subrise Subscriptions

Grab the API Key From The Subrise App

Head to the Subrise App, and go to Settings Tab

Set Up a New Attentive Journey

Choose from one of our Many Subrise Event Triggers

You are now connected to Attentive through Subrise!


Datatypes and Events

The Subrise Subscription application, will send subscription-based data to your Attentive account for a variety of different Events. Below are the following Events you can expect to receive data for, as well as the format of that data.

Events

New Subscription Payload

{
    metric: "subrise_new_subscription",
    customer_first_name: "John",
    customer_last_name: "Doe",
    customer_email: "johndoe@test.com",
    customer_phone: "444-444-4444",
    customer_id: "12345678910"
    subscription_id: "12345678910",
    subscription_line_items: [
     {
      variant_title: blue shirt,
      price: 1.99,
      quantity: 1,
      discounted_price: 1.99,
    },
    ],
    total_subscription_price: 1.99,
    subscription_started_date: "2024-05-14T17:52:47.910Z",
  }

New Subscriber Payload

  {
    metric: "subrise_new_subscriber",
    customer_first_name: "John",
    customer_last_name: "Doe",
    customer_email: "johndoe@test.com",
    customer_phone: "444-444-4444",
    customer_id: "12345678910"
    subscription_id: "12345678910",
    subscription_total: 1.99,
    subscription_started: "2024-05-14T17:52:47.910Z",
    subscription_line_items: [
     {
      variant_title: blue shirt,
      price: 1.99,
      quantity: 1,
      discounted_price: 1.99,
    },
    ]
  }

Subscription Cancelled Payload


{
    metric: "subrise_subscription_cancelled",
    customer_first_name: "John",
    customer_last_name: "Doe",
    customer_email: "johndoe@test.com",
    customer_phone: "444-444-4444",
    customer_id: "12345678910"
    subscription_id: "12345678910",
    reason: "too good",
    reason_details: "The deal was too good",
    total_subscription_orders: 1,
    subscription_cancelled_date: "2024-05-14T17:52:47.910Z",
  }

Subscription Modified

updatedField, and updatedValue will correspond to the different fields that may or may not get updated on a Subscription object.


{
    metric: "subrise_subscription_modified",
    customer_first_name: "John",
    customer_last_name: "Doe",
    customer_email: "johndoe@test.com",
    customer_phone: "444-444-4444",
    customer_id: "12345678910"
    subscription_id: "12345678910",
    subscription_modified_date: "2024-05-14T17:52:47.910Z",
    updatedField1:"deliveryInterval",
    updatedValue1:"MONTH",
    updatedField2:"deliveryIntervalCount",
    updatedValue2:1,
    updatedField3:"billingInterval".
    updatedValue3:"MONTH",
    updatedField4:"billingIntervalCount",
    updatedValue4:1,
    updatedField5:"maxCycles",
    updatedValue5:NULL,
    updatedField6:"minCycles",
    updatedValue6:NULL,
    updatedField7:"isPrepaid",
    updatedValue7:false,
  }

Upcoming Invoice Payload


{
    metric: "subrise_upcoming_invoice",
    customer_first_name: "John",
    customer_last_name: "Doe",
    customer_email: "johndoe@test.com",
    customer_phone: "444-444-4444",
    customer_id: "12345678910"
    subscription_id: "12345678910",
    subscription_invoice_date: "2024-05-14T17:52:47.910Z",
  }

Failed Transaction Payload


{
    metric: "subrise_failed_transaction",
     customer_first_name: "John",
    customer_last_name: "Doe",
    customer_email: "johndoe@test.com",
    customer_phone: "444-444-4444",
    customer_id: "12345678910"
    subscription_id: "12345678910",
    total_subscription_price: 1.99
    failed_billing_error_message: "error",
    card_info: 1234,
  }
`

Successful Payment Payload


 {
    metric: "subrise_successful_payment",
    customer_first_name: "John",
    customer_last_name: "Doe",
    customer_email: "johndoe@test.com",
    customer_phone: "444-444-4444",
    customer_id: "12345678910"
    subscription_id: "12345678910",
    total_subscription_price: 1.99
    payment_date: "2024-05-14T17:52:47.910Z",
  }

Pause Subscription Payload

{
    metric: "subrise_pause_subscription",
   customer_first_name: "John",
    customer_last_name: "Doe",
    customer_email: "johndoe@test.com",
    customer_phone: "444-444-4444",
    customer_id: "12345678910"
    subscription_id: "12345678910",
    pause_reason: "price",
    pauseDetails: "Could not afford this anymore",
    total_subscription_orders: 3,
    subscription_paused_date: "2024-05-14T17:52:47.910Z"
  }

Reactivated Subscription Payload


{
    metric: "subrise_reactivate_sub",
    customer_first_name: "John",
    customer_last_name: "Doe",
    customer_email: "johndoe@test.com",
    customer_phone: "444-444-4444",
    customer_id: "12345678910"
    subscription_id: "12345678910",
    total_subscription_price: 1.99
    subscription_updated_date: "2024-05-14T17:52:47.910Z"
  }
```

Prepaid Subscription Payload


{
    metric: "subrise_prepaid_subscription",
     customer_first_name: "John",
    customer_last_name: "Doe",
    customer_email: "johndoe@test.com",
    customer_phone: "444-444-4444",
    customer_id: "12345678910"
    subscription_id: "12345678910",
    total_subscription_price: 1.99,
    subscription_started: "2024-05-14T17:52:47.910Z",
    subscription_line_items: [
     {
      variant_title: blue shirt,
      price: 1.99,
      quantity: 1,
      discounted_price: 1.99,
    },
    ]
  }
```

Addon Subscription Payload

{
    metric: "subrise_addon_purchase",
    customer_first_name: "John",
    customer_last_name: "Doe",
    customer_email: "johndoe@test.com",
    customer_phone: "444-444-4444",
    customer_id: "12345678910"
    subscription_id: "12345678910",
    subscription_total: 1.99,
    subscription_started: "2024-05-14T17:52:47.910Z",
    addon_line_items: [
     {
      variant_title: blue shirt,
      price: 1.99,
      quantity: 1,
      discounted_price: 1.99,
    },
    ]
  }

🌎
πŸ› οΈ
New Subscription
New Subscriber
Subscription Cancelled
Subscription Modified
Upcoming Invoice
Failed Transaction
Successful Payment
Pause Subscription
Reactivated Subscription
Prepaid Subscription
Addon Subscription
Log into your Attentive account and head to the main dashboard.
Head to marketplace to create a custom attentive app
Name your app Subrise Subscriptions, and set the permissions as such.
Click the "Attentive" integrations card, and paste in the API Key from the custom Attentive App.
Create a new Journey
Start from Scatch