Home / Companies / Twilio / Blog / Post Details
Content Deep Dive

Supercharge Your Amazon Connect Flows Using AWS Lambda, Node.js and Twilio

Blog post from Twilio

Post Details
Company
Date Published
Author
Ricky Robinett
Word Count
2,062
Company Posts That Month
33
Language
English
Hacker News Points
-
Post removed?
No
Summary

In this post, Ricky Robinett shows how to supercharge Amazon Connect contact flows using AWS Lambda, Node.js, and Twilio. The author builds a contact flow that detects if a customer is calling from a mobile phone and sends their order details to them via SMS at the completion of the call. To achieve this, they use two Lambda functions: one for looking up the type of phone number (mobile, landline, or VoIP) using Twilio Lookup, and another for sending an SMS message with the order details. The author walks through setting up these functions, including creating a new role for each function, installing dependencies, and uploading the code to Lambda. They also cover integrating these functions into Amazon Connect contact flows in six steps: creating a new flow, playing a prompt, performing a number lookup, conditionally routing based on the type of number, sending a message, and wiring it all up. The author provides example test JSON for each function and demonstrates how to add permissions to each Lambda function using AWS CLI commands.

Trends Found in this Post
Trend Post Mentions Total Month Mentions Posts Companies MoM
Serverless 44 183 18 11 +28%
Use This Data

Use this post, company, and trend context to find content marketing opportunities, perform competitive analysis, or address product feature gaps via the Plushcap MCP server or the Plushcap API.