CSML updates
CSML updates
www.csml.dev

CSML Chatbot Templates Library

 

New

 

 

The new CSML Templates Library has arrived!

image.png

Now, when creating a new chatbot, you will have the option to start from an existing chatbot template that will boost your development efforts, by covering many of the most popular chatbot use cases around lead generation, quizzes and surveys, customer satisfaction, e-commerce…

New templates are added regularly, and CSML Partners can also submit their own templates to the library in order to gain visibility among CSML users.

Announcing CSML Partner Program

 

New

 

 

The CSML Partner Program is a new initiative from the CSML team, aimed at partners who leverage the broad range of CSML solutions to build products and services for their customers. We help Partners grow with dedicated training sessions, professional CSML certifications, direct support and specialized resources. All CSML Partners and Resellers also benefit from 6 month of free Pro plan on every chatbot created in CSML Studio.

Companies willing to get professional chatbot development services and support will be able to hire local Partners to fit their project requirement, experts in all types of chatbots: customer support, e-commerce, lead generation, HR, IT support, marketing, reservation, AI-based chatbots, multilingual chatbots, etc.

If you are looking for an experienced CSML Partner for your next chatbot project, contact us and we'll connect you with the partner we think is the best fit for you!

Applying for the CSML Partner Program is a great way to grow your chatbot development business!

Read more on the Partner Program page: https://www.csml.dev/studio/partners/

Resources Center

 

New

 

 

You can now find on https://studio.csml.dev/resources a brand new Resources Center that contains links to all the CSML support resources.

On this page, you can find links to the documentations (Studio, Language), the Slack Community, the CSML Blog and Newsletter, and the CSML Engine source code on Github!

image.png

CSML v1.6.1 Release

 

New

 

 

We just released CSML v1.6.1! This update brings a few bugfixes and improvements, but also two interesting new features.

New keyword: forget

This new keyword lets CSML remove data from its memory and, well, obviously, forget things. You can see an example here: https://play.csml.dev/bot/e5804690-d98f-49e2-89be-7530ac9de212

The documentation is here: https://docs.csml.dev/language/standard-library/keywords#forget

Prevent infinite loops

If you have ever been in a situation where a CSML code was running in an infinite loop by mistake, with no way to kill the loop, this feature is for you.

For example, consider this:

start:
  do something()
  goto start

This will now stop after 100 loop executions in a single run (without any "hold" or "goto end"). It should be more than enough as to not be blocking any normal use cases, but it will also prevent you from being stuck there forever.

As usual, the release notes are on Github: https://github.com/CSML-by-Clevy/csml-engine/releases/tag/v1.6.1

New Stripe App

 

New

 

 

Using our new Stripe integration, you can now securely accept payments directly in your chatbots and start monetising your content!

This integration comes with a new Stripe() component to display a payment form to the user when they should enter their credit card information. The process is easy to setup, fully secure and happens directly on Stripe's servers, to ensure compliance with PCI-DSS rules.

image.png

You can read more about this integration on its page: https://www.csml.dev/studio/integrations/stripe/

Discover all our powerful integrations here: https://www.csml.dev/studio/integrations

New Multiselect and Input Components

 

New

 

 

With the release of CSML v1.6, we have just added 2 new custom Webapp components in CSML Studio, especially useful for form-types of chatbots: Input and Multiselect. Let's see what they have to offer!

Input

With the Input component, you can let your users type specific information directly in the chat bubble, like so:

image.png

You can use several types of inputs: text, textarea, email, url, number. They all come with their own validator to ensure that only valid content is set in the input: that's why it's so useful! For instance, this is a number input:

image.png

It's possible to set rules on the content of the input (like in regular HTML inputs), for instance minlength/maxlength for text/textarea types of inputs, or min/max/step for number types. They can also be set as required if an empty field must not be accepted.

You can also set a placeholder and/or a default value:

image.png

Input components are interpreted as simple text components on other channels, with no further validation of the content made by the component itself.

Multiselect

The Multiselect component lets the user pick several options at once. You can add as many options as you want, and set rules for the minimum or maximum number of options the user can or should select.

image.png

Multiselect components are only available on the Webapp channel, as most channels don't support selecting multiple options per input.

CSML v1.6 Release

 

New

 

 

We just released CSML v1.6! Once again a great update from the team, that comes with many improvements and bugfixes, but also 3 important features that we are going to highlight now. You can as usual check all the release notes here on Github (and don't forget to star our repo!).

Data Management API

We added several endpoints to the CSML Engine API that let you access or manage your user data programmatically. This makes it much easier to return all conversations a user had with a chatbot, update their memory if a certain event happens outside of the context of the conversation, or delete everything related to a user in case they made a data deletion request (looking at you, GDPR! 🥸).

For reference, here are all the endpoints available in the CSML Engine.

Fully Printable Memory

Speaking of user data, with the introduction of the new _memory global variable, you can now print all the memory of a user at any given time:

// print all the keys and first-level values in a readable format:
debug _memory

// or for a full but unformatted output:
say "{{_memory}}"

Read the docs

Time()

With the new Time() utility function, you can now easily manipulate time objects. This was one of the main requests we've had for a long time, and here it is!

With this function, you can generate Time objects for any given date, past or future, format it into a nice string or unix timestamp, and even parse ISO-formatted strings into Time objects!

do time = Time()
do time = Time().at(2021, 03, 28, 12, 53, 20, 123)

do time.unix()

do time.format()
do time.format("%h%d")

do time = Time().parse("2021-03-28T12:53:20.123Z")

Read the docs

Debugging Apps in Studio

 

Improvement

 

 

Sometimes, code doesn't work the way we intend to. In those cases, it's always helpful to print the value of a parameter or variable, using a simple console.log in javascript (or the equivalent in all other supported languages).

image.png

In the app testing interface, you can now access your app execution logs right after executing it. Simply click on the Logs tab after running the app:

image.png

IP Allow List

 

New

 

 

If you know what IP your Webapp channel is going to be requested from and need to prevent other IPs to be able to access it, you should definitely use our new feature: IP Allow List.

You can find this new setting under your Webapp's advanced configuration panel. Leave it empty for no restriction, or add individual IPs to prevent any other IP to access the chatbot.

image.png

Webapp UI Customization

 

Improvement

 

 

You can now customize the UI of the webapp channel! With this update, CSML chatbots can now completely match your branding by changing the colors and images.

image.png

This is probably one of the most requested features of all time. Not much more to say about it: check out the documentation!