Plugin for OVH's uTask workflow engine that sends SMS via the seven gateway as a regular workflow step.
- 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_KEYenv or per-task config
- Go 1.19+
- A uTask installation (>= v1.29.1)
- A seven account with API key (How to get your API key)
git clone git@github.com:seven-io/utask.git
cd utask
go buildDrop the resulting binary or built plugin into your uTask plugin path.
export SEVEN_API_KEY=your-seven-api-keyconfig:
apiKey: your-seven-api-key
smsParams:
to: "+1234567890"
text: "Hello from uTask!"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 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 |
go fmt ./...
go vet ./...
go test ./...
go mod tidyNeed help? Feel free to contact us or open an issue.