- Introduced a new `send-gmail` workflow for sending emails via Gmail SMTP, with configurable parameters for recipients, subject, and body content. - Added a `test-send-gmail` workflow to facilitate testing the email sending functionality with sample data. - Implemented a `track` workflow to monitor Gojek trips, enhancing the server's capabilities for tracking and notifications. - Updated the workflow management interface to include new workflows and improved organization of existing scripts. Co-authored-by: Nasyarobby Putra <nasyarobby@gmail.com>
19 lines
488 B
YAML
19 lines
488 B
YAML
name: test-send-gmail
|
|
description: |
|
|
Kick send-gmail with sample data. Edit the payload below, then Run
|
|
(or POST /u/default/test-send-gmail).
|
|
scripts:
|
|
- script: trigger-workflow.js
|
|
config:
|
|
name: send-gmail
|
|
expression: |
|
|
{
|
|
"subject": "scrunner test",
|
|
"text": "Hello from test-send-gmail",
|
|
"html": "<p>Hello from <strong>test-send-gmail</strong></p>"
|
|
}
|
|
triggers:
|
|
- type: HTTP
|
|
method: POST
|
|
path: /test-send-gmail
|