Twilio Provider

Twilio is a development platform that enables developers to build cloud communication applications and web systems. Twilio's communication APIs empower businesses to provide the appropriate communication experience for their customers within web and mobile applications. By leveraging Twilio's APIs, developers can swiftly integrate functionalities such as voice messages, video calls, text messages, and more into an application.

If you want to take a closer look at the process of setting up your Twilio environment to start creating your chatbot, click here.


Send Buttons

One of the most requested functions by users is the fact of sending buttons to generate more interactivity and more dynamic chatbots.

app.ts

const welcomeFlow = addKeyword<Provider, Database>(['template','plantilla'])
    .addAction(async (ctx) => {
       await provider.send(ctx.from,
        'Agregar dos botones que permiten al cliente dar una respuesta mas rapida',
            {
                contentSid: 'HXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX'
            }
        )
    })

Content Quick

Remember for correct functionality you must have the message comply with the message template constructed.

Buttons Examples


Content Template Builder

The Content Template Builder is a Twilio product designed to create template messages and content-rich messages. It has an easy-to-use graphical interface built on a publicly accessible API. With the Content Template Builder, both engineers and non-technical users can create, approve and manage templates from the Twilio Console. With this system, it is possible to create templates faster, with fewer errors, while empowering the entire team to contribute. Both developers and non-technical users can build and submit templates for approval from the Twilio Console without writing a single line of code.

Content Templates


Guides

My first chatbot

Learn how build your first chatbot in few minutes

Read more

Concepts

Understand the essential concepts for building bots

Read more

Add Functions

The key to learning how to write flows is add-functions.

Read more

Plugins

Unlimitate and start implementing the community plugins.

Read more

Resources

Modularize

Learn how to modularise flows so that you can have a more maintainable bot.

Send Message

How to send a message via HTTP to start conversations, you can send multimedia as well.

Dockerizer

A good practice is to dockerise your bots to make them more maintainable and effective.

Events

Learning about events will make us more fluent when creating chatbots.