Skip to content

Instantly share code, notes, and snippets.

Created August 9, 2021 23:05
What would you like to do?
Receiving a Message on NodeJS with Twilio'/sms', async (req, res) => {
const twiml = new MessagingResponse();
await workflow(`${req.body.Body}`)
res.writeHead(200, {'Content-Type': 'text/xml'});
res.end('Message Received');
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment