
Learn to build web chat and contact center apps using the Twilio conversations API and task router, with a Laravel backend, integrating SMS, WhatsApp, and audio calls.
Create a Twilio account, verify email and phone, obtain a trial number, explore the conversations API and default service, and get ready to download and set up the Laravel framework.
Builds the Laravel signup and login forms with csrf protection and post routes. Includes creating register and login controllers, hashing passwords, and redirecting after authentication, preparing for Twilio Conversations API.
Initialize the Twilio Conversations client with a fetched access token, then monitor connection state and events such as conversation added, joined, left, removed, updated, and typing indicators.
Load and display conversations dynamically in Twilio Conversations, showing the friendly name and date created, and enable deletion with confirmation and real-time UI updates.
Learn to create a conversation, load and add participants, and show a real-time typing indicator in Twilio Conversations API, with inline Laravel Blade directives and participant management.
Update author attributes and conversation title in the Twilio Conversations API, and display real-time participant counts and typing indicators using get participants and update attributes.
Sort Twilio conversations by date or last message using a conversations array that tracks id, created date, friendly name, and last message date, ensuring new or updated chats stay top.
Learn to manage Twilio Conversations API by adding participants and sending media messages, including uploading images, attaching media via Ajax, and handling real-time updates in the active conversation.
Enable and monitor user reachability in Twilio conversations by performing a one-time REST API call to enable service reachability indicator. Display online status for conversation participants.
Add non chat participants from SMS and WhatsApp into Twilio conversations, using proxy and address, verify numbers, and navigate trial account restrictions in Twilio.
Learn how to add a WhatsApp participant to a Twilio Conversations API conversation using the sandbox, including linking a number, opting in to WhatsApp, and creating a WhatsApp–specific participant binding.
Integrate Facebook inbound conversations into Twilio by extracting the messenger ID and updating the conversation friendly name and attributes via the REST API, with error handling and testing.
Configure inbound SMS with Twilio Conversations API, enable auto creation, and route webhooks to assign conversations to users, transforming SMS messages into active conversations.
Learn to customize a private 1-to-1 conversation by displaying the participant name, restricting icons, and toggling visibility of conversation actions in the open conversation flow.
Update your conversations app to use attached media and message type to handle media messages automatically, loading images, audio, video, and pdf via temporary urls and embedded elements.
Learn how Twilio Task Router automatically assigns chats to qualified agents via workflows and queues, connecting conversations with back-end systems and handling parallel requests.
Create and delete workspaces with the Twilio task router by wiring a form to store workspace titles, validate input, and sync the Twilio workspace ID to database and Twilio console.
Create and integrate Twilio task queues in Laravel, using migrations, workspaces, and a dedicated Twilio service to send curl requests to the Twilio endpoint and save results.
Learn how workflows route tasks in Twilio Conversations API and Task Router using skill filters. Build a manual workflow with reservation timeouts and filters, then preview API-driven workflow creation.
Update and delete workflows via REST in Twilio Conversations API & Task Router, including updating the workflow's friendly name and syncing with the workspace.
Learn to initialize a Twilio Task Router worker, fire worker events, and manage worker availability by updating activity and online/offline status using the token.
Learn to build the front end for a Twilio conversations and task router chat: load the chat widget via Ajax, initiate conversations with customer data, and create tasks for agents.
People now a days are really putting a lot into creating Chat Applications using NodeJS, React or any other platform/technology, but the main problem is that its really hard to maintain server.
Besides that sometimes your application does not requires any kind of other technology except JS or PHP (as an example) & for this specific task you have to learn other stuff and add that into your application and maintaining is really hard.
So by using Twilio, we don't need to do much on the server side, everything we need to do is on the Client side and you know what, we can do this with our Vanilla JS as well.
We will be developing 2 main applications using Twilio, which are:
Chat application (web, SMS, WhatsApp, Facebook) using Twilio Conversations API.
Contact Center using Twilio task router.
Task Router is for creating a complete Contact Center application, where you define agents/workers in Twilio and then any customer that comes from website frontend will be handled by task router, based on agents availability chats will be assigned to them and much more things.
So what are you waiting for, lets dive into this course & become a Twilio developer, create amazing chat apps & much more.