A uTask plugin that enables SMS sending through the Seven.io API.
This plugin extends the OVH uTask workflow engine to provide SMS functionality using Seven.io's messaging service. It allows you to send SMS messages as part of your automated workflows.
- Clone this repository:
git clone https://github.com/seven-io/utask.git
cd utask
- Build the plugin:
go build
The plugin requires a Seven.io API key to function. You can provide this in two ways:
Set the SEVEN_API_KEY
environment variable:
export SEVEN_API_KEY="your-api-key-here"
Include the API key directly in your task configuration:
config:
apiKey: "your-api-key-here"
smsParams:
to: "+1234567890"
text: "Hello from uTask!"
Add the plugin to your uTask workflow:
steps:
- name: send-sms
plugin: seven_utask
config:
smsParams:
to: "+1234567890"
text: "Your workflow notification message"
The smsParams
field accepts all parameters supported by the Seven.io SMS API:
to
: Recipient phone number (required)text
: Message content (required)from
: Sender ID (optional)delay
: Delayed sending timestamp (optional)- Additional parameters as supported by the Seven.io API
To get your Seven.io API key:
- Sign up at seven.io
- Navigate to your dashboard
- Copy your API key from the account settings
- Go 1.19 or higher
- Valid Seven.io API account and key
- uTask framework v1.29.1 or compatible version
# Format code
go fmt ./...
# Run tests
go test ./...
# Check for issues
go vet ./...
# Update dependencies
go mod tidy
This project follows the same license as the uTask framework.
For Seven.io API questions, visit Seven.io Documentation For uTask framework questions, visit uTask Documentation