Skip to content

seven-io/github-action-rcs

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

Repository files navigation

Official seven.io RCS GitHub Action

Send RCS from GitHub Actions.

Prerequisites

Usage

  1. Set up your credentials secrets in your repository settings by specifying SEVEN_API_KEY.

  2. Add the following to your workflow

- name: 'Send RCS'
  uses: seven-io/github-action-rcs@master
  with:
    from: 'Tommy Tester'
    text: 'seven.io wishes you a nice day!'
    to: '+4901234567890'
  env:
    SEVEN_API_KEY: ${{ secrets.SEVEN_API_KEY }}

Inputs

apiKey Required

An API Key from seven.io. Alternatively use environment variable SEVEN_API_KEY.

to Required

The recipient number for your RCS message. This can also be a contact name or a group name.

text Required

Text of the RCS message. To send a simple RCS message (without images, suggested replies, etc.), only enter the plain text of the message here. Otherwise, use an RCS object.

delay

Delayed dispatch at given time: Unix-Timestamp or format yyyy-mm-dd hh:ii

foreign_id

Foreign ID returned in callbacks. Allowed characters: a-z, A-Z, 0-9, .-_@

from

The unique ID of your agent. You can view this in the Settings of your account. If not specified, the first RCS-capable sender will be used.

label

Custom label. Allowed characters: a-z, A-Z, 0-9, .-_@

performance_tracking

Activate click and performance tracking for URLs found in the RCS text. This also activates the URL shortener.

ttl

Specifies the validity period of the RCS in minutes. The default is 2880, i.e. 48 hours.

Outputs

response

Returns a return code from the API.

License

MIT

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Packages

No packages published