-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathworkflow.yaml
More file actions
82 lines (75 loc) · 1.58 KB
/
workflow.yaml
File metadata and controls
82 lines (75 loc) · 1.58 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
nodes:
- id: 1
name: Start
plugin: default
type: trigger
parameters: {}
- id: 2
name: Fetch Data
plugin: http
type: action
parameters:
url: "https://httpbin.org/basic-auth/user/pass"
method: GET
basic_auth:
username: user
password: pass
- id: 3
name: Send Data
plugin: http
type: action
parameters:
url: "http://httpbin.org/post"
method: POST
data:
format: json
raw_message: "raw message"
form_parameters:
- key1: value1
- key2: value2
json_message: '{"key1": "value1", "key2": 20}'
bearer_auth: my_token
headers:
- Content-Type: application/json
- Accept: application/json
- Host: httpbin.org
- id: 4
name: Delete
plugin: http
type: action
parameters:
url: "http://httpbun.com/delete"
method: DELETE
- id: 5
name: Patch
plugin: http
type: action
parameters:
url: "http://httpbun.com/patch"
method: PATCH
- id: 6
name: Put
plugin: http
type: action
parameters:
url: "http://httpbun.com/put"
method: PUT
- id: 7
name: Send Mail
plugin: send_mail
type: action
parameters:
from: "sender@gmail.com"
reply_to: "sender@gmail.com"
to: "receiver@gmail.com"
subject: "Test Subject"
body: "Test Body"
smtp_host: smtp.gmail.com
smtp_port: 465
smtp_user: "sender@gmail.com"
smtp_password: "__PASSWORD__"
connections:
"1":
- to: 2
"2":
- to: 7