Skip to content
message-circle

GitHub Action

Exotel SMS

v2 Latest version

Exotel SMS

message-circle

Exotel SMS

Send an SMS from GitHub Actions using Exotel SMS

Installation

Copy and paste the following snippet into your .yml file.

              

- name: Exotel SMS

uses: sagarchoudhary96/exosms-actions@v2

Learn more about this action in sagarchoudhary96/exosms-actions

Choose a version

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