Functions

サーバーレスのFunctionsでより短期間で構築

FunctionsはTwilioのサーバーレス環境です。イベント駆動型のマイクロサービスを短期間で作成し、サードパーティのエンドポイントと統合し、カスタムロジックでTwilio Studioフローを拡張することができます。
Woman holding a notebook and pen, sitting in a workspace with development settings on the side.
Woman holding a notebook and pen, sitting in a workspace with development settings on the side.

コンセプトから初版までより少ないステップで

Code snippet showing a Node.js Lambda function callback and a user chat icon with HELLO WORLD message.
Code snippet showing a Node.js Lambda function callback and a user chat icon with HELLO WORLD message.

Node.jsにより、イベント駆動型のマイクロサービスを構築

Node.jsを使用することにより、拡張性に優れた、商用レベルのイベント駆動型Twilioアプリケーションを作成できます。安定性に不安を抱くことなく、イノベーションを起こせます。短期間の開発を迅速に行うことができます。StudioアプリケーションとIVRシステムにはカスタムロジックを使用します。

サードパーティのエンドポイントとの統合

Node.jsの機能とnpmエコシステムを利用し、データの変換とフィルタリングを行うことにより、任意のサードパーティシステムと統合できます。外部APIリクエストを簡単に作成し、Webhookの設定により、Twilio製品や外部システムからデータを取り込むことができます。

Code snippet for Twilio integration with icons for Stripe, Webhook, and Segment services.
Code snippet for Twilio integration with icons for Stripe, Webhook, and Segment services.
Software interface showing an IVR system design with options for incoming messages, calls, and API actions.
Software interface showing an IVR system design with options for incoming messages, calls, and API actions.

お客様のコードをTwilioで

強力なAPIの構築、複雑な統合、IVRへのカスタムロジックの追加など、アイデアを短期間で実現できます。Twilio Functionsに運用のオーバーヘッドを任せることで、より短期間で市場に投入することができます。

自動スケーリングと透明性のある料金

Twilioのサーバーレス系プロダクトは、ゼロ需要からピーク需要まで自動的にスケーリングし、組織のコストを最小限に抑える従量課金制のビジネスモデルを特徴としています。

Illustration showing the pay-as-you-go business model with a graph of varying usage trends.
Illustration showing the pay-as-you-go business model with a graph of varying usage trends.

Functionsなら5分以内に展開可能

Twilioの電話番号からSMSを送信

Twilioの電話番号からSMSを送信できます。わずか数行のコードで、Twilio Functionsを活用したTwilio SMSをお客様の電話に着信させることができます。

Twilio FunctionsからSMSを送信

exports.handler = async function(context, event, callback) {
  const client = context.getTwilioClient();
  const message = await client.messages.create({
    to: '+15558675310',
    from: '+15017122661',
    body: 'Hi there!'
  });
  callback(null, message.sid);
};

「コード行をコメントアウトして関数が何をしているか説明する必要はありません。Twilioのコードは実に明快で、設定も簡単です。」

Nate Grieb Product Owner, VictorOps

サーバーレスとTwilio Functionsを試す

Functionsによりアプリケーションを起動し、実行することができます。

Woman with brown hair in a tweed jacket posing against a red background.
Woman with brown hair in a tweed jacket posing against a red background.