Collection-Specific Recommendations in Voiceflow

Modified on Fri, 13 Sep at 9:43 AM

Overview

This guide will help you configure Streamline to recommend products from specific collections in your Voiceflow chatbot.

Steps

1. Shopify Configuration

  • In Shopify, ensure all products are tagged with their respective collection names.

2. Streamline Setup

  • Create separate files for each collection.
  • Tag each file with the corresponding collection name.
  • Use product tags to organize items within each file.

3. Voiceflow Configuration

  • Create an intent for each collection.
  • Add triggers for each collection.
  • Set up a function for each collection:
    1. Clone the existing product recommendation function.
    2. Modify each cloned function to use a collection-specific tag instead of the default "product-data" tag.

4. Testing and Implementation

  • Test the setup by asking for items from a specific collection (e.g., "Sale items").
  • The AI should recognize the collection name and trigger the appropriate flow.
  • The corresponding function will search for matching products within the specific collection file.

Example Scenario

If a user asks for "Sale items":

  1. The AI recognizes "Sale items" as a collection.
  2. It triggers the flow set up for the 'Sale' items collection.
  3. The Sale items function searches for products tagged as "Sale items" in the corresponding Streamline file.
  4. The bot presents the matching sale items to the user.

Was this article helpful?

That’s Great!

Thank you for your feedback

Sorry! We couldn't be helpful

Thank you for your feedback

Let us know how can we improve this article!

Select at least one of the reasons
CAPTCHA verification is required.

Feedback sent

We appreciate your effort and will try to fix the article