November 2023 Summaries
14 posts from Vonage
Filter
Month:
Year:
Post Summaries
Back to Blog
The text discusses Monads, a concept in Category Theory that can be challenging to understand at first. The author aims to demystify Monads and their applications using real-life examples from the .NET SDK. They start with a simple example of a "box" containing a cat, which is later modified to hold any type `T` using generics. This box is then transformed into a Monad by adding the `Map` and `Bind` functionalities. The author also introduces the concept of `Match`, which provides a fallback behavior when the state is `None`. They emphasize the importance of understanding Monads, even if it means losing the ability to explain them to others, as stated by Douglas Crockford. The article concludes with recommendations for further learning and invites readers to join the Vonage Developer Slack community.
Nov 30, 2023
2,617 words in the original blog post.
CSF is now Generally Available on Salesforce AppExchange, offering a Salesforce connector powered by Vonage APIs to engage with customers via SMS, MMS, WhatsApp, and 2-way conversations. The product boasts no-code onboarding, personalized conversations, smart message handling, and seamless integration with reporting and analytics features in Salesforce. New features include WhatsApp template management at the Admin level, supporting a growing range of use cases for customer engagement and case management within Salesforce.
Nov 29, 2023
306 words in the original blog post.
Vonage Cloud Runtime is a cloud-native, serverless development platform that aims to speed up development processes by providing prebuilt solutions and browser-based coding environments. Code Hub is the central hub for these solutions, allowing developers to browse use cases for various Vonage APIs, including Messages API, Voice API, Video API, Number Insight API, and more. Prebuilt solutions can significantly reduce development time, eliminating the need to download samples, configure dependencies, and manually configure API keys. The platform offers a range of use cases, such as scheduling an SMS, automatic SMS forwarding, Hubspot integration with Vonage Messages API, and more. Developers can sign in to their Vonage account, navigate to Code Hub, and select the desired use case to get started. The platform provides an intuitive interface, allowing developers to deploy code instantly, view logs, and track changes. With Vonage Cloud Runtime, developers can focus on building innovative applications while leveraging the power of serverless development and prebuilt solutions.
Nov 28, 2023
1,108 words in the original blog post.
Grafana is an open multi-platform observability platform that allows developers to monitor metrics from applications or systems in the cloud. It generates analytics and visualization charts, graphs, and alerts. To integrate Grafana with Vonage for SMS notifications using the Vonage Messages API, a Python application must be created to receive webhook notifications. The application uses Flask and sets up a webhook endpoint to receive POST requests. Ngrok is used to spin up a lightweight server for the application. The application connects with Grafana to send webhook notifications, which are then sent to users via SMS using the Vonage Messages API. The setup includes configuring a Vonage application, defining URLs, sending messages, and testing the application.
Nov 21, 2023
1,835 words in the original blog post.
Conventional commits provide clarity and consistency in version control by standardizing commit messages, making it easier to understand changes made to software. This approach enhances collaboration among developers by providing a clear structure for commit messages, which can be automatically generated into changelogs and used for versioning according to SemVer. Additionally, conventional commits encourage better communication within teams by giving context to the commit message, making it more likely that team members can understand what changes were made without having to read through the entire commit history. By using conventional commits, developers can benefit from auto-generated changelogs, auto-versioning, and improved team communication.
Nov 20, 2023
1,229 words in the original blog post.
The project Sushi is an AI-powered virtual assistant that utilizes OpenAI's GPT-3.5 Turbo model for conversation generation and Vonage Video Live Captions for speech-to-text functionality. The setup involves a Node.js application that streams data from the GPT API, converts it into audible speech using the browser's native SpeechSynthesisUtterance module, and manages interruptions from users speaking. The assistant is designed to mimic real-life interactions, allowing users to interrupt and guide the conversation. The project showcases the potential of integrating AI models with video conferencing platforms, enabling more engaging and productive virtual meetings.
Nov 16, 2023
1,716 words in the original blog post.
You can automate Google Calendar events with SMS reminders using Zapier and the Vonage SMS API. To start, you'll need a Vonage API account and a Zapier account. Then, create a Zap in Zapier, add a Google Calendar trigger, configure an SMS action in the Vonage API, test your integration, and customize the SMS template as needed. With this setup, you can receive text message reminders for upcoming events, ensuring you never miss a meeting or event again. Additionally, you can upgrade your workflow with new features, such as integrating the Vonage Voice API to connect participants in conference calls.
Nov 15, 2023
1,104 words in the original blog post.
Environment variables are a crucial part of web application development, allowing developers to manage configuration data and sensitive information such as API credentials in a secure and efficient manner. By leveraging environment variables, developers can separate their code from specific settings, making it easier to deploy and maintain applications across different environments. Ruby on Rails provides a built-in `ENV` object that allows developers to access and manipulate environment variables within their code. The use of environment variables is particularly useful when working with external services or APIs, as they enable the secure storage and management of credentials. Tools like dotenv can simplify the process of setting environment variables in development, while configuration management tools, containerization solutions, and service providers offer more comprehensive options for managing environment variables in production.
Nov 14, 2023
1,877 words in the original blog post.
Vonage AI Studio is a Low/No code virtual assistant builder that allows developers and non-developers alike to design, create, and deploy Virtual agents with Natural language understanding. It uses the Vonage API account to create customer engagements over voice, SMS, HTTP, and WhatsApp channels. A developer created a honeypot using Vonage AI Studio to combat robo-calls by requiring callers to press a number before forwarding it to them. The developer set up an Express server to confirm if a call comes from a known contact number, and integrated the Fraud Defender in the next post. The agent was then built with nodes that check for the caller's phone number, prompts the caller to enter 42, and records the call if the caller presses 42 or has high fraud confidence. The flow of the agent is defined by connecting nodes and setting up conditions and responses. The developer published the flow and assigned a Vonage phone number, making the honeypot ready to go.
Nov 09, 2023
1,596 words in the original blog post.
The tutorial explains how to build a video chat app using React Native with the Vonage Video API and Opentok React Native library. It covers setting up the project, building the video chat interface, adding participant streams, building the video call toolbar, and optimizing the app for multiple streams. The app is designed to handle different use cases, such as displaying a main subscriber view and a scroll view component with smaller thumbnails for remaining subscribers. The tutorial also includes best practices for handling group calls on mobile devices and optimizing performance by muting non-visible stream videos.
Nov 07, 2023
2,611 words in the original blog post.
Connecting with customers via WhatsApp is easy thanks to the Vonage Messages API, which allows businesses to send WhatsApp messages in various programming languages, including Node.js. To start sending WhatsApp messages with Node.js, one needs to set up a WhatsApp sandbox, create a unique username and password, and construct a POST request with the necessary authorization variables. The request then sends a WhatsApp message, which can be tested by running the code and sending a message from the WhatsApp sandbox to an allowlisted number. With the Vonage Messages API, businesses can now easily integrate WhatsApp messaging into their Node.js applications, providing a convenient way to communicate with customers.
Nov 07, 2023
992 words in the original blog post.
You can store environment variables in your operating system, but there are other ways to use them that we will learn about shortly. Environment variables allow you to change a program's behavior without changing the program itself. To follow along with this tutorial, you'll need to have Python installed on your machine. You get and set environment variables in Python using the built-in os module. You can view all of the environment variables in your program by saving the following code in a Python file and then running this Python program: import os; os.environ. Your Python interpreter should print out all your operating system's environment variables when running this code. You can access the different environment variables in os.environ like a Python dictionary. To set environment variables in Python, you can add them to the os.environ object like you would with a dictionary. However, only strings are permitted, as these are passed directly to the shell your interpreter is running in. There are different reasons that you might want to store environment variables, so there are also different ways to store them. You can store environment variables on your operating system, in files, in the cloud, in CI/CD systems, or with a universal secrets manager. Store environment variables on your operating system using the command line. This creates an environment variable and sets its value. Store environment variables in files by creating a .env file to persist them. You can use a tool like dotenv to load environment variables from a .env file into os.environ. When you create software for production, you probably won't run it from your computer, so you need to know how to set and get environment variables from wherever you run your code in production. You can store environment variables in CI/CD systems like GitHub Actions or CircleCI, which allows you to simplify testing and debugging by adjusting environment variables rather than changing the code. Store environment variables with a universal secrets manager like Doppler, which allows you to store your secrets in one place so everyone on your team can access them. Finally, when using external APIs, you might need to use environment variables to get the tooling set up optimally.
Nov 07, 2023
1,920 words in the original blog post.
In this latest development update from Vonage, they've taken the process of registering clients in their .NET SDK to the next level by introducing implicit configuration loading. This means that developers can now pass an IConfiguration instance directly to the `AddVonageClient` method, eliminating the need for manual initialization of credentials instances. Additionally, this update allows for environment-specific configuration, enabling developers to use different configurations for staging and production environments. With these changes, developers can simplify their interactions with the SDK and focus on writing code rather than managing configuration details.
Nov 02, 2023
391 words in the original blog post.
You can use Python to send SMS messages using the Vonage API. To start, you need to create a Vonage account and install the Vonage Python SDK. You then create a virtual environment and activate it before installing the SDK. Next, you import the Vonage client object and use its `send_message` method to send an SMS message. The method takes the sender ID, receiver's phone number, and the message as parameters. After sending the message, you can monitor and troubleshoot SMS delivery on the Vonage API Dashboard. To create a web application that sends SMS messages, you need to create a Flask app with a form for the user to input the phone number and message. When the user clicks the "Send SMS" button, it posts to the server.py file, which uses the Vonage client object to send the message. The application can be deployed from a code source by cloning the repository, installing dependencies, and starting the app with a command.
Nov 01, 2023
888 words in the original blog post.