Skip to content

sagarchoudhary96/exosms-actions

Use this GitHub action with your project
Add this Action to an existing workflow or create a new one
View on Marketplace

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ย 

History

8 Commits
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 

Repository files navigation

Exotel SMS GitHub Action

Send an SMS through GitHub Actions using Exotel

Prerequisites

Usage

  1. Set up your credentials as secrets in your repository settings using EXOTEL_ACCOUNT_SID, EXOTEL_API_KEY, EXOTEL_API_TOKEN

  2. Add the following to your workflow

- name: 'Sending SMS Notification'
  uses: sagarchoudhary96/exosms-actions@v1
  with:
    fromNumber: 'from_number_here'
    toNumber: 'to_number_here'
    message: 'message_body_here'
  env:
    EXOTEL_ACCOUNT_SID: ${{ secrets.EXOTEL_ACCOUNT_SID }}
    EXOTEL_API_KEY: ${{ secrets.EXOTEL_API_KEY }}
    EXOTEL_API_TOKEN: ${{ secrets.EXOTEL_API_TOKEN }}

Inputs

fromNumber

Required Exophone in your Exotel account to send the SMS from

toNumber

Required Phone number to send the SMS to

message

Required The message you want to send

EXOTEL_ACCOUNT_SID

An Exotel Account SID. Can alternatively be stored in environment

EXOTEL_API_KEY

An Exotel API Key. Can alternatively be stored in environment

EXOTEL_API_TOKEN

An Exotel API Token. Can alternatively be stored in environment

Outputs

smsMessageSid

The SID of the sms message resource associated with the SMS sent.

License

MIT license

Don't forget to ๐ŸŒŸ Star ๐ŸŒŸ the repo if you like this GitHub Action !
Your feedback is appreciated

About

๐Ÿš€ GitHub Action to send SMS notification using Exotel

Resources

License

Stars

Watchers

Forks

Packages

No packages published