Add 1-Click Actions to Attentive Journeys

Reduce friction and frustration by giving your customers the opportunity to update their subscriptions with 1-Click actions. This guide will take you through what 1-Click is, how to add links to Attentive, and lists out all currently available actions.

Note: This feature is in early development. We're actively testing it, so the listed actions are subject to change and grow without advance notice.

How 1-Click Actions Work

1-Click actions are unique and secure URLs you can send to your customers through email and SMS messages. When clicked on, they will perform a specific pre-determined action such as reactivating a churned subscription.

Let’s follow the same example, say a customer wants to resubscribe to your product. Normally they would have to find your Subscription Manager on the store homepage, log in, locate the subscription, and click to reactivate it; or go through checkout again. With 1-Click actions, you can cut down all of those steps to just one: clicking on their unique URL.

What 1-Click URLs look like

1-Click actions piggyback off of Ordergroove’s API, so all of the URLs will look similar:

https://<STORE_URL>/?og_quick_action=<ACTION>&og_quick_action_token=<TOKEN_STRING>
  • <STORE_URL>: Your store’s homepage or a different landing page you want to direct customers to after taking the action
  • <ACTION>: The action that you want to perform, taken from the list below
  • <TOKEN_STRING>: Generated by Ordergroove and stored in Attentive

Enabling 1-Click Actions for your store

Shopify BigCommerce Platform Agnostic

1-Click actions need to point to a URL that has Ordergroove’s main.js script tag, and can not be in the My Account section. 

 


Adding 1-Click Actions to Attentive

1-Click Actions can be added to Attentive Journeys and Campaigns, and can be used with automated Two-Way messaging.

Add 1-Click action to an SMS message

  1. Log in to Attentive. Open an existing SMS journey based on an Ordergroove trigger, or create a new one.
  2. Add a text message step to the journey.
  3. Click the link button at the bottom of the message editor.
  4. In the popup, Copy one of the sample code snippets listed below and paste it into the Link URL section.
  5. Replace <STORE_URL> with the URL of the tagged page you would like to redirect users to when they take an action.
  6. Click Shorten and Insert URL.

Screen Shot 2024-03-20 at 5.40.21 PM.png

 

Add 1-Click action to a two-way journey

  1. Log in to Attentive. Open an existing SMS journey based on an Ordergroove trigger, or create a new one.
  2. Add an auto-reply text message step to the journey.
  3. Set up a keyword for your message.
  4. In the keyword branch, add a text message step.
  5. Click the link button at the bottom of the message editor.
  6. In the popup, Copy one of the sample code snippets listed below and paste it into the Link URL section.
  7. Replace <STORE_URL> with the URL of the tagged page you would like to redirect users to when they take an action.
  8. Click Shorten and Insert URL.


Available 1-Click Actions

The following is a list of all available 1-Click Actions along with an example URL. 1-Click Actions is under active development, and this list will grow as we build out the program.

Delay Shipment

Delays a subscribers upcoming shipment by 14 days. The number of days to delay can optionally be overwritten as a URL parameter.

  • Action: delay
  • Sample Code (w/ on-site confirmation via Ordergroove JS):
https://<STORE_URL>/?og_quick_action=delay&og_delay_by=14&og_quick_action_token={{triggerEvent.custom['action_token']}}
  • Fields:
    • og_delay_by=14: The amount of days to delay the shipment. You can replace 14 for a custom delay period.
  • Sample Code (via API):
https://restapi.ordergroove.com/one_click/delay/?days={{days}}&token={{event.action_token}}
  • Fields:
    • days={{days}}: The amount of days to delay the shipment. Replace {{days}} with an integer.

Reactivate Subscription

Reactivates a customer’s subscription. The first order date is set to the next day. The customer will get charged the next day, and will resume all previous subscription settings such as frequency and quantity.

  • Action: reactivate
  • Sample Code (w/ on-site confirmation via Ordergroove JS):
https://<STORE_URL>/?og_quick_action=reactivate&og_quick_action_token={{triggerEvent.custom['action_token']}}
  • Sample Code (via API):
https://restapi.ordergroove.com/one_click/reactivate/?token={{event.action_token}}

One-Time Product Upsell

Adds an item to a customer's upcoming order. Requires the Ordergroove external product id of the item you want to add to the order.

  • Action: upsell
  • Sample Code (w/ on-site confirmation via Ordergroove JS):
https://<STORE_URL>/?og_quick_action=upsell&og_product_id=123ABC&og_quick_action_token={{triggerEvent.custom['action_token']}}
  • Fields:
    • og_product_ID=123ABC: The product you want to append to a customer's order. Replace 123ABC with the Ordergroove product ID. You can find the ID by logging in to Ordergroove > Products > Click the product you want to upsell > External Product ID.
  • Sample Code (via API):
https://restapi.ordergroove.com/one_click/upsell/?og_product_id={{id}}&token={{event.action_token}}
  • Fields:
    • og_product_ID={{id}}: The product you want to append to a customer's order. Replace 123ABC with the Ordergroove product ID. You can find the ID by logging in to Ordergroove > Products > Click the product you want to upsell > External Product ID.