Salebot.ai
  • About
  • The basics: How to use Salebot.ai
    • The basics of using the editing software
    • Creating blocks and the types of them
    • Arrows (connections)
    • Quick actions
    • Buttons
    • Condition and Matching selection
    • Links to messengers
    • Blocks "not State"
    • The first message
    • Description of the fields in the Editor
    • How to make the bot not interrupt the dialogue with the client
    • Sending attachments. Tracking links.
    • Getting files from the user
    • Editing text message
    • Random answers in a bot
    • Built-in variables
    • Reservation and recovery
    • Free Videos to master Salebot
  • Administration
    • Custom Roles
    • Reservation and recovery
  • Messengers and chats
    • WhatsApp
    • Whatsapp Business API
    • Telegram
    • Viber
    • Facebook Messenger
    • Official Instagram
    • Online-chat on a site
    • Merging contacts from different messengers
  • Variables
    • Variables
    • Calculator
    • API in Calculator
    • Variable comparison
    • Working with Dates and Time
    • Working with Arrays and Dictionaries
    • List of Useful Regular Expressions
    • How to use variables
  • CRM
    • AmoCRM
    • Bitrix24
  • Working with API
    • The editing software's API
    • Integration with third-party APIs
  • Integrations
    • Payment systems
      • Capusta.space
      • Coinpayments
      • INXY Payments
      • Paypal
      • Payeer.trade
      • Paynow
      • Stripe
      • Telegram
      • Fondy
      • Wayforpay
      • WalletOne
    • InfoBusiness
      • MyOwnConference
      • WebinarGeek
    • Analytics
      • Roistat
      • Facebook Pixel
      • Google Analytics
    • Google Sheets
    • Google Tables
    • Google Calendar
    • Apix-Drive
    • SMS services
    • Sendpulse
    • QuizGO
    • Tilda
    • Linkrr
    • Vakas-Tools
  • Mailings
    • Pipelines
    • Manual mailings
    • Mailing list
    • Stop mailing
    • How to filter clients for mailing
    • Transferring the client base. Uploading Whatsapp numbers
  • To partners
    • How to transfer the project to the customer
  • How to...
    • FAQ
    • ...Create a simple chatbot
    • ...Transfer UTM-labels
    • ...Create a referral program
    • ...Create temporarily available content
    • ...Connect analytics counters and configuring conversions through GTM
    • ...Move clients to another block
    • ...Create personalized images
    • ...Create a menu in Telegram
    • ...Connect Telegram-pay
  • Payment Services
    • Page 1
  • Mini-landing
  • Special capabilities
    • Python programming
    • Generating a QR-code
    • Generating a barcode
    • Barcode recognition on an image
    • Using Google Sheets for mailings
    • Sending requests to messengers and email
    • Working with promo codes
  • Our services
    • Pricing
    • Training courses
  • Group 1
Powered by GitBook
On this page
  • How to set up WebinarGeek
  • How to get the list of webinars through the chat-bot
  • How to register for a webinar through the chat-bot
  • How to check attendance of the webinar through the chat-bot
  • How to get broadcast_id by the webinar name starting with a specified date and time
  1. Integrations
  2. InfoBusiness

WebinarGeek

This is a platform for hosting various types of webinars.

PreviousMyOwnConferenceNextAnalytics

Last updated 2 years ago

How to set up WebinarGeek

To get the token, go to the account settings on . You can find it in the top right corner of the screen and after you press the word Account, the drop-down menu opens up, where you need to choose the first option:

Then choose API in the menu on the left

After that, the page with the API will open up

If you didn’t get the key, then you need to contact customer support and ask for one.

After you get the token, open Settings -> Project constants and paste it in the variable webinargeek_token:

How to get the list of webinars through the chat-bot

To get the list, it’s enough to call the function webinargeek_get_webinar_list():

As a result, there will be a list of webinars in this format:

['{"id":1455034,"date":"11-05-2022 18:00","name":"Second webinar"}', '{"id":1455046,"date":"11-05-2022 18:00","name":"My Webinar"}', '{"id":1453081,"date":"04-05-2022 18:00","name":"My first webinar"}']

where

id - is the id of the broadcast (broadcast_id), the value is essential to all other actions with this webinar date - the date and the time of this broadcast name - the webinar name

If you share with the function any symbol (it’s best to paste '1'), then the function will show only those webinars that aren’t finished yet, and if you don’t paste anything then it will also show the finished ones.

How to register for a webinar through the chat-bot

For the registration you need the function webinargeek_get_webinar_list(broadcast_id, name, email), where

broadcast_id - the broadcast’s id for which you need to register the client name - the client’s name that will be shown in the chat email - the email address to which the invitation to the webinar with the link will come

Without these parameters you can’t register a client through the bot.

Example: url = webinargeek_add_subscriber(1455046, 'John Smith', 'john_smith@gmail.com’)

As a result, this variable will hold the link to the webinar through which the user won’t need to register. All user data is set in this variable.

Also, after the function execution, there will be two variables added to the client’s card:

webinargeek_broadcast_id - the id of the broadcast the user was registered for webinargeek_email - the email that was specified in the registration

These variables will be useful for checking the user’s attendance of the webinar.

How to check attendance of the webinar through the chat-bot

To check attendance, you’ll need this function webinargeek_is_visitor(webinargeek_broadcast_id, webinargeek_email), where

webinargeek_broadcast_id - the id of the broadcast the user was registered for webinargeek_email - the email that was specified in the registration watch_minimum - (optional parameter) the minimum amount of minutes by which the function identifies if the attendance is counted as one or no

watch = webinargeek_is_visitor(webinargeek_broadcast_id, webinargeek_email)

A reply will be pasted in the variable:

  • If the webinar wasn’t finished yet, then this text comes as a reply: “Webinar not ended yet”;

  • If the client didn’t watch the webinar, then this comes as a reply: “False”;

  • If the client watched the webinar and the parameter watch_minimum wasn’t used, then this comes as a reply: “True”; If the parameter watch_minimum was used, then the function will check the amount of time the client watched it and:

    • If the client watched it for a lesser amount than what was put as the minimum, this comes as a reply: “False”;

    • If the amount of time the client watched the webinar for is equal or higher than the specified amount, then this comes as a reply: “True”.

How to get broadcast_id by the webinar name starting with a specified date and time

To get the broadcast_id of a specified webinar you need the function webinargeek_search_broadcast_id() with these parameters:

webinar_list - here you need to transfer the variable that holds the function webinargeek_get_webinar_list() result webinar_name - the name of the webinar which broadcast_id you need to find webinar_date - the date of the broadcast of the dd.mm.yyyy format. You can also use curret_date webinar_time - the time of the broadcast of the hh:mm format, where hh = hours and mm = minutes

Example: webinar_list = webinargeek_get_webinar_list() broadcast_id = webinargeek_search_broadcast_id(webinar_list, 'Second webinar', current_date-4, '18:00'

Here we’re trying to find the id of the broadcast that was happening 4 days before the current date at 6pm and was called “Second webinar”.

If the webinar that corresponds to the parameters was in the list, then the function returns the id of the found webinar to the broadcast_id variable.

If such a webinar wasn’t found, then this text is pasted instead: "No webinar with these parameters".

WebinarGeek
How to set up WebinarGeek
How to get the list of webinars through the chat-bot
How to register for a webinar through the chat-bot
How to check attendance of the webinar through the chat-bot
How to get broadcast_id by the webinar name starting with a specified date and time