Skip to main content

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?

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


Yes.

 

So my code looks something like:

 

app_id: "XXXX",

name: {NAME},

email: {EMAIL},

created_at: XXXX,

plan: premium,

member_type: premium


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.


Ok.

 

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

 


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


Thanks! <3


Reply