diff --git a/Twilio-and-SendGrid-Trigger-and-Action-Configs.md b/Twilio-and-SendGrid-Trigger-and-Action-Configs.md index 32e410d..5893a41 100644 --- a/Twilio-and-SendGrid-Trigger-and-Action-Configs.md +++ b/Twilio-and-SendGrid-Trigger-and-Action-Configs.md @@ -1,7 +1,7 @@ # Twilio Trigger - When someone sends an SMS message to the Twilio number, trigger the action -### Trigger Configs: +## Trigger Configs: - Choose an app: Twilio - Trigger event: Receive an SMS - Choose connection: enter Twilio SID and Auth Token @@ -25,10 +25,20 @@ NumSegments:"1" # SendGrid Action - Send an email to Courtney Hurt or whoever when Twilio Trigger occurs -### Action Configs: -- Choose an app: SMTP +## Action Configs: +### Choose an app & event: +- SMTP - Action event: Send an email -- Choose connection: apikey +- Continue +### Choose connection --> Add new connection +- Host `smtp.sendgrid.net` +- Email/Username: `apikey` +- password: `` +- Use TLS? `Yes` +- Port: `587` +- From email: `kyle@sprinklersnorthwest.com` (Landry's sample email from SendGrid) +- Submit +### Set up action: - From name: TWILIO SMS FORWARDING SERVICE - From email: kyle@sprinklersnorthwest.com (Landry's sample email from SendGrid) - Reply to: doesn't do anything, left blank and not required @@ -50,6 +60,8 @@ Message: Automatisch test Twilio SMS ID: xxxxxxxxxxxxxxxxxxxxxxxxxxxxx ``` +- Continue +### Test action - Select Test and continue. This will create an API post request to SendGrid, should return this kind of response: ``` accepted: [] 2 items