Skip to content

seven-io/utask

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

seven logo

seven SMS for uTask

Plugin for OVH's uTask workflow engine that sends SMS via the seven gateway as a regular workflow step.

MIT License uTask 1.29+ Go 1.19+


Features

  • Native uTask Plugin - Registered as seven_utask (v0.1)
  • Workflow Step - Drop into any uTask YAML workflow as a regular step
  • Env or Config Auth - API key via SEVEN_API_KEY env or per-task config

Prerequisites

Installation

git clone git@github.com:seven-io/utask.git
cd utask
go build

Drop the resulting binary or built plugin into your uTask plugin path.

Configuration

Option A: Environment variable

export SEVEN_API_KEY=your-seven-api-key

Option B: Per-task config

config:
  apiKey: your-seven-api-key
  smsParams:
    to:   "+1234567890"
    text: "Hello from uTask!"

Usage

Use the plugin as any other workflow step:

steps:
  - name: send-sms
    plugin: seven_utask
    config:
      smsParams:
        to:   "+1234567890"
        text: "Your workflow notification message"

smsParams

smsParams accepts every parameter supported by the seven SMS API:

Field Description
to Recipient phone number (required)
text Message body (required)
from Sender ID. Up to 11 alphanumeric or 16 numeric characters
delay Delayed dispatch as Unix timestamp
... All other seven SMS API parameters

Development

go fmt ./...
go vet ./...
go test ./...
go mod tidy

Support

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

License

MIT

About

No description or website provided.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Contributors

Languages