Level up your Twilio API skills in TwilioQuest, an educational game for Mac, Windows, and Linux. Download Now
Build the future of communications.
Start building for free

Event Streams posts

  • By Daizen Ikehara
    Event Streamsを用いてTwilioのログをNode.jsとExpressサーバーアプリケーションで処理する方法 event-streams-nodejs-express-jp

    Event Streamsは執筆時点でPublic Betaとなるため、今後設定方法や仕様が変更される可能性があります。

    Twilioは音声通話、SMS、ビデオなどさまざまなコミュニケーションAPIを提供しています。それぞれのAPIの実行結果はstatusCallback、あるいは類似したプロパティにコールバックURLを設定することでアプリケーション側にログを通知し、分析やエラー処理を行えるようになっています。

    例 - Programmable SMS API(statusCallbackで検索)

    このコールバックは簡単に利用できますが、複数のTwilioサービスを利用する場合はサービスごとあるいはリクエストごとに指定する必要があります。さらに、ログのフォーマットもサービスごとに異なる場合があります。

    Event Streamsは各サービスのログをCloudEventsの仕様に沿って正規化、集約し、指定した宛先に配信します。そのためサービスごとに複数のコールバックを指定する必要がなく、またログの処理やエラーハンドリングをより簡単に実装できます。今回はこのEvent StreamsをNode.js/Expressサーバーアプリケーションで利用する方法を紹介します。また、Event Streamsの特長についてはこちらの記事で取り上げられていますのでぜひご覧ください。

    FAQにも記載されていますが、Event Streamsは既存のステータスコールバックを置き換えるものではありません。今後も引き続き利用できます。

    前提条件

    このチュート …

    Read More
  • By Shashwat Johari
    Streaming Studio Flow Executions with Event Streams Twilio Studio + Event Streams

    In this post, you will learn how to stream Twilio Studio Flow Executions with Twilio Event Streams. With Studio events being fully supported on Event Streams, you can now leverage webhooks to trigger external workflows or log steps in real-time as your Flow executes in Studio.

    Before Studio support for Event Streams you had two ways to achieve this:

    1. Adding HTTP Request widgets throughout your Flows to push events out to your external applications - This added complexity to the Flows and was largely a manual process.
    2. Polling the API’s Executions and Steps endpoints to retrieve complete logs for reporting - This required running batch jobs on a schedule to page through all the records and was a cumbersome process.

    So why is this useful?

    • It gives you additional options for triggering programmatic actions beyond a single webhook endpoint
    • It removes synchronous dependencies between your services and Twilio API …
    Read More
  • By Ander Telleria
    Introducing Twilio Live: Build Interactive Live Streaming at Global Scale — Now in Beta Introducing Twilio Live Build Interactive Live Streaming Apps at Global Scale — Now in Beta.png

    Traditionally, media consumption such as podcasts, entertainment, shopping, and events have been passive experiences. However, over the past year, we’ve seen a shift to more interactive experiences with the rise of platforms like Clubhouse and TikTok. Consumers are now looking for immersive experiences where they can interact, be part of the conversation, be watched, and be listened to. Learn about the benefits of interactive live streaming and get tips on how to use it.

    However, creating these types of experiences is not straightforward. If developers were to solve this themselves today, it would take months to build out the infrastructure needed to support their livestream applications globally. That left us thinking — how can we bring these interactive live streaming capabilities to developers in a simple and painless way? We built Twilio Live!

    Why Twilio Live?

    Twilio Live gives developers the tools to build immersive experiences that can be directly …

    Read More
  • By Matt Jackson
    How to Gain an Edge for Cellular IoT Operations with Super SIM Connection Event Streams Super SIM Connection Event Streams

    The key to running a fleet of reliably connected IoT devices is having the right amount of insight, such as where SIMs are connecting, what networks are rejecting connections, and which SIMs are going rogue in terms of data usage. Without that, you are essentially building your business on hope, not knowledge—a risky proposition.

    Performance insight is key

    Super SIM is Twilio’s new cellular IoT connectivity platform, offering almost 400 worldwide cellular networks on one SIM. With Super SIM, one of the guiding principles of the product from day one was providing visibility into what’s happening “under the hood” when SIMs try to connect to networks. To help businesses grow and expand their IoT deployments, we created a reliable IoT SIM solution offering global reach, which allows companies to select exactly which networks their device should connect to in each country. So we built our own mobile network core—the …

    Read More
  • By Jessy Sweet
    Twilio Event Streams、パブリックベータ開始のご案内 Event Streams Public Beta JP

    この記事は英語版ブログ記事の抄訳です。

    すべてのTwilioデータを統合管理

    Twilio Event Streams機能のパブリックベータ版をリリースいたしました。Event Streams APIにより、データストリーミングの最新技術を活用し、統合された形のTwilioデータをお客様のインフラストラクチャに直接取り込むことができます。データの取り込みに要する時間を短縮でき、その分のエネルギーや時間をデータをどのように生かすかに使っていただくことができます。

    データアーキテクチャを重視

    データは常にビジネスの根幹です。オペレーション、マーケティング、サポートなど、業務を効率的に行うには、顧客と自部門とのコミュニケーション状況を、十分に把握しておく必要があります。2020年は、コロナ禍の拡大により、あらゆる業界でデジタル化が大きく進展し、企業はこれまで以上に顧客データを取得する場面が多くなりました。しかし、この膨大なデータを顧客エンゲージメントの改善に活用できていないのはなぜでしょうか?

    世界中の開発者は顧客接点の統合に取り組む一方、データ管理の基本的な業務に多くの時間を費やしています。データの統合/変換、各部門がデータにアクセス可能となるようなインフラストラクチャ整備、データの完全性・精度の確認などです。

    TwilioのEvent Streamsは、これらの煩雑な業務を必要としません。今回、Event StreamsによりTwilioのアーキテクチャを再構築し、それによりお客様は、Twilioのプラットフォームで送受信されるあらゆるデータを統合された形 …

    Read More
  • By Jessy Sweet
    Announcing Twilio Event Streams Public Beta Event Streams Public Beta

    One integration for all your Twilio data

    We’re excited to announce that Event Streams has entered public beta. With the Event Streams API, you can use modern data streaming technology to consume unified streams of Twilio data directly into your infrastructure, so you can spend less time wrangling data and more time building with data.

    Having the right data architecture is more crucial than ever

    Data has always been the backbone of business. In order for your teams—whether operations, marketing, or support—to do their jobs effectively, they need to deeply understand how your customers interact with your organization. With the COVID-19 pandemic driving explosive digital growth in 2020 across all industries, organizations have more data than ever about their customers. Why is it so difficult to use this influx of data to improve your customer engagement experiences?

    Developers everywhere, tasked with consolidating all of the touch points they have …

    Read More
  • By Jessy Sweet
    Stream Twilio Data to a Webhook with Event Streams Event Streams Webhook Sink Available

    At SIGNAL 2020, we announced the Event Streams beta. Event Streams is an API that allows you to configure centralized streams of event data directly into your infrastructure—starting with Amazon Kinesis—so that your data is easily accessible, automatically interpretable and reliable for informed decision-making.

    We are proud to announce that Event Streams now supports data delivery to a webhook sink type. This means that customers can access the same powerful features of Event Streams—a single integration point for all Twilio data, at-least once delivery with retries for 24 hours, unified data format with consistent metadata, and support for delivery to multiple sinks—regardless of the streaming infrastructure they may be using.

    Why did we build a webhook sink?

    We built the webhook sink type for customers who:

    1. Aren’t using any streaming solutions like AWS Kinesis. Such customers can now easily transition to Event Streams and reap its benefits without making architectural …
    Read More
  • By Jessy Sweet
    Build a Single Integration for All Your Twilio Data with Event Streams Event Streams Launch Banner

    At the heart of customer engagement, Twilio is radically simplifying how developers can tap into every customer interaction sent or received on our platform with a new API: Event Streams.

    With Event Streams, you can consume configurable, centralized streams of data (starting with Messaging, Voice, Super SIM, and TaskRouter events, with all events coming soon) into the system of your choice. At launch, we’re starting with Amazon Kinesis – with more sinks coming soon.

    Why did we build Event Streams?

    In the last 12 months, the Twilio Customer Engagement Platform has powered nearly one trillion human interactions across all major channels. Humans are generating a massive quantity of digital data — giving you the unprecedented opportunity to better understand and serve your customers.

    However, reliably accessing and tying all of this data together to build a holistic view of what's happening is no small feat. The data that is …

    Read More
  • Newer
    Older
    Sign up and start building
    Not ready yet? Talk to an expert.