Load user plugins from /plugins instead of data/plugins so site-specific scripts stay in git and workflows can reference plugin/joplin-api and plugin/send-sms. Co-authored-by: Cursor <cursoragent@cursor.com>
17 lines
398 B
YAML
17 lines
398 B
YAML
name: dev-zte-sms
|
|
description: |
|
|
Send an SMS via a ZTE modem web UI.
|
|
Input (data): to, message
|
|
Password is the named secret zte_modem_password ($SECRET_).
|
|
scripts:
|
|
- script: plugin/send-sms
|
|
config:
|
|
url: http://192.168.5.1/reqproc/proc_post
|
|
password: $SECRET_sms_secret
|
|
triggers:
|
|
- type: workflow
|
|
- type: HTTP
|
|
method: POST
|
|
path: /dev-zte-sms
|
|
auth: basic-auth
|