Skip to content

Latest commit

 

History

History
 
 

forward-message-sendgrid

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Forward SMS message as an email (SendGrid)

The SendGrid Function will forward incoming SMS messages to an email address using the SendGrid API.

You will need a SendGrid account and an API key to use this Function.

Environment Variables

This Function expects three environment variables to be set.

Variable Meaning
SENDGRID_API_KEY Your SendGrid API key
TO_EMAIL_ADDRESS The email address to forward the message to
FROM_EMAIL_ADDRESS The email address that SendGrid should send the email from

Dependencies

This Function depends on one npm module. You should add the following dependencies in your Functions configuration page.

Dependency Version
got 6.7.1

Parameters

This Function expects the incoming request to be a messaging webhook. The parameters that will be used are From and Body.