Chek user id in bot

(Антон Боровков) #1

Hey.
Tell me how i can restrict access to the telegrams to the bot created with the flow xo. Task - check the user id and after the coincidence start the flow.

(Karen Barker) #2

Hi there,

Every bot user has a unique Response Path. If you only want a subset of users to be able to trigger a specific flow then you can add their Response Path to a filter on the trigger action. E.g. Response path = x or Response path = y.

(Антон Боровков) #3

For example, I have a 5 telegram id:
184440134
184440145
184440147
184441450
184440199

Where to write them so that only they can use the bot?

(Karen Barker) #4

Hi,

This possible equates to User ID, so you could create a filter on the flow trigger using the trigger User ID equals each of the ID’s as below: