A subscriber in the BotHelp account has several IDs, each of which serves a specific purpose. In this article, we will describe the differences between the IDs and how to use them.

There are 4 types of ID in a subscriber profile

1. user_id — telegram-ID of the subscriber in the messenger.

Application:

  • Most often, this ID is used to unload the subscriber base into a table ( export ) or to load the subscriber base from another service and/or another account ( import ).
  • You can transfer subscriber data to a CRM system, Google Sheets, etc. via webhook.
  • Also user_id can be inserted into the link as a macro .

2.  Account ( messenger_username) is the subscriber's nickname in Telegram or a link to the VKontakte profile. If the subscriber has not specified a nickname in the Telegram settings, then user_id will be duplicated in this field.

Application:

  • messenger_username can be used as a macro in a text block (only works for Telegram if the subscriber's username is specified).
  • When a subscriber gets into the bot, {%user_id%} is first duplicated instead of a nickname. Only after the subscriber writes something in the bot, the value of the {%user_id%} field is replaced by {%messenger_username%} and the user's nickname is pulled up.

3. CUID is a unique ID for integrations with GetCourse/Bizon365.

This parameter is unique and unchangeable for each subscriber. It is displayed in the profile and in the message sent to the subscriber.

Or like this:

Application: 

  • CUID helps track a subscriber's presence at a webinar in Bizon365 , as well as payment on GetCourse .
  • CUID can be sent via webhook to a CRM system, Google Sheets, a third-party service, etc.
  • Can be sent via API .
  • Can be used as a macro {%cuid%}

4. bothelp_user_id = subscriber_id — this is the subscriber ID in BotHelp (numeric).

Displayed in the subscriber's profile, as well as in the "Dialogues" section, indicated at the end of the link when a dialogue is open.

Application:

  • bothelp_user_id can be passed via API (get request).
  • You can transfer bothelp_user_id via webhook to the required service (for example, to a CRM system, Google Sheets, etc.). And then via the API from this service, perform various actions with subscribers, for example, assign labels. Data transfer is configured in actions . There are no actions in mailings and automatic mailings.

If you have not found the answer to your question, ask us in the chat inside your account or write to BotHelpSupportBot or to hello@bothelp.io

Get 14 days of full functionality of the platform for creating mailings, autofunnels and chatbots BotHelp.

Get 14 days free

Was this article helpful?

Thanks for your feedback!