To test scenarios using a BPL operation, you need to use a web widget or an integration with a messenger. For more information about creating a text widget, see the article Creating a text widget. The built-in text chat in the editor does not support such operations.
Determining a client's age by birthdate
Use BPL to calculate the client's age based on their date of birth
Extracting values from an array
Iterate through an array and output values using a BPL loop
Handling birthdates before 1950
Configure the script to correctly parse and process incomplete or incorrect birth years
Setting a callback time
Schedule a callback after a specific time using a BPL function in bot scripts
Making a server request via BPL
Send HTTP requests using BPL operations and handle server responses
Capitalizing a string
Configure the script to convert a user's name into a capitalized string
Handling BPL errors
Handle errors when using the Expression block in BPL logic