Skip to main content
Attentive - Template variables

A list & description of the variables that are sent to Attentive in Junip events

Marcus Cardoso avatar
Written by Marcus Cardoso
Updated over 10 months ago

Events

  • Junip - Review request

  • Junip - Review request by campaign

  • Junip - Review submitted

  • Junip - Review confirmation required

Order Event Variables

This refers to the "Review request" and "Review request by campaign" events

  • all_items_reviewed - whether all of the order's items have been reviewed by the customer that placed the order (true or false)

  • order_id - the Shopify ID of the order

  • order_review_url - the authorized URL that the customer can use to leave a review on products from the order

  • store_reviewed - whether or not the customer has left a store review

  • store_review_url - the authorized URL that the customer can use to leave a store review

  • store_url - the URL of the store the reward is for

  • test - indicates if the event occurred as the result of a test

  • order_line_items - a list of the line items from the order that have not been reviewed (see the line item format below)

Line item format

  • id - the Shopify ID of the line item

  • name - the name of the line item, e.g. "MacBook Pro"

  • image_url - a URL for the image of the product purchased

  • review_url - the authorized URL that allows a customer to leave a review on this product before the other products in the order

Note: you can access the name of the 2nd line item using the 'order_line_item_2_name' variable.

Review Event Variables

This refers to the "Review submitted" and "Review confirmation required" events

  • review_id - the Junip ID for the review

  • review_body - the main content of the review

  • review_identity_confirmed - whether we have verified that the person who wrote this review is the person they say they are

  • review_identity_confirmed_url - the authorized URL for confirming the identity of the person that wrote the review

  • review_rating - the rating out of 5

  • review_state - the state of the review (pending, approved, or rejected)

  • review_title - the title of the review

  • review_type - denotes if the review is a product review or a store review (product_review, store_review)

  • review_verified_buyer - whether the writer of this review is a verified buyer

  • review_would_recommend - whether the writer of this review would recommend the product or store

  • review_target_title - the target of the review, either the store name or the product name + variant information

  • review_has_media - whether there was a picture/video submitted with the review (true or false). Note: true or false must be lowercase.

  • product.id - the ID of the product the review was left on (from Shopify)

  • product.title - the title of the product the review was left on

  • test - indicates if the event occurred as the result of a test

If there's a reward associated with the review

  • reward_code - the discount code

  • reward_name - the reward's description (e.g. "Free shipping" or "10% off")

  • reward_lowercase_name - an all lowercase version of the reward's description

  • store_url - the URL of the store the reward is for

Did this answer your question?