Answered

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

  • 10 March 2022
  • 6 replies
  • 8 views

Badge +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?

icon

Best answer by Eric Fitz 14 March 2022, 13:16

View original

6 replies

Userlevel 1

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

Badge +1

Yes.

 

So my code looks something like:

 

app_id: "XXXX",

name: {NAME},

email: {EMAIL},

created_at: XXXX,

plan: premium,

member_type: premium

Userlevel 1

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.

Badge +1

Ok.

 

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

 

Userlevel 1

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!)

Badge +1

Thanks! <3

Reply