Skip to content

Latest commit

 

History

History
89 lines (63 loc) · 2.11 KB

File metadata and controls

89 lines (63 loc) · 2.11 KB

seven logo

seven SMS & Voice for StackStorm

Integration pack for StackStorm that sends SMS and places text-to-speech calls via the seven gateway.

MIT License StackStorm pack Python 3


Actions

Action Description
seven.send_sms Send an SMS. Multiple recipients can be comma-separated.
seven.send_voice Place a text-to-speech voice call.

Prerequisites

Installation

st2 pack install https://github.com/seven-io/StackStorm

Configuration

Copy the sample config and edit it:

cp seven.yaml.dist /opt/stackstorm/configs/seven.yaml
Field Description
api_key Your seven API key

Dynamic datastore values can be referenced as well.

After editing, reload the config:

st2ctl reload --register-configs

Usage

Send SMS

st2 run seven.send_sms \
    to="01716992343,491625453093" \
    text=HI2U \
    from=StackStorm \
    flash=true \
    performance_tracking=true \
    label=CustomLabel \
    foreign_id=ForeignID \
    delay="2021-12-30 12:00"

Send Voice

st2 run seven.send_voice \
    to=+491716992343 \
    text='Dear sir or madam' \
    from=+13134378004 \
    xml=false

Support

Need help? Feel free to contact us or open an issue.

License

MIT