Skip to main content
Answered

Different "starting points" based on user's plan?


Forum|alt.badge.img+1

We have users on different plans (silver, gold, platinum, vip, etc)... and we want to show different options for each.

 

Can't use URL rules as they are all using the same pages.

 

I'm passing a "plan" user attribute" through the Intercom code snippet, but I'm not sure how to use it to show different content/options on the bot (or different bots?) based on the value of that attribute.

 

Is it possible at all?

Best answer by Eric Fitz

You can control this in the audience settings for each bot - you can select the audience filter plan is or member_type is (or a combination of both!)

View original
Did this topic help you find an answer to your question?

6 replies

Eric Fitz
Employee
Forum|alt.badge.img+5
  • Employee
  • 1630 replies
  • March 10, 2022

Hey @user1140​, do you pass these plans as the value of a custom attribute for your users?


Forum|alt.badge.img+1
  • Author
  • Active User
  • 14 replies
  • March 10, 2022

Yes.

 

So my code looks something like:

 

app_id: "XXXX",

name: {NAME},

email: {EMAIL},

created_at: XXXX,

plan: premium,

member_type: premium


Eric Fitz
Employee
Forum|alt.badge.img+5
  • Employee
  • 1630 replies
  • March 10, 2022

Got it, thanks! In that case, you'd need to create different bots, one for each possible value of the "plan" or "member_type" attributes.


Forum|alt.badge.img+1
  • Author
  • Active User
  • 14 replies
  • March 10, 2022

Ok.

 

So I have two custom bots. How to I control which one is used for plan?

 


Eric Fitz
Employee
Forum|alt.badge.img+5
  • Employee
  • 1630 replies
  • Answer
  • March 14, 2022

You can control this in the audience settings for each bot - you can select the audience filter plan is or member_type is (or a combination of both!)


Forum|alt.badge.img+1
  • Author
  • Active User
  • 14 replies
  • March 15, 2022

Thanks! <3


Reply


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings