Inputs
Every action gets its data from an input. That's either request data / a
previous action's output selected with input:, or a fetch from an external
source.
| Source | Use it for | Reference |
|---|---|---|
http | Call any HTTP/REST API | HTTP requests |
database | Query SQL and NoSQL databases | Databases |
command | Run CLI tools, scripts, curl | Command |
email | Send email over SMTP |
Select request data or an earlier action's output with the closed marker form:
actions:
- name: CheckBody
input: a|body|
- name: Fetch
http:
url: https://api.example.com/users/a|params::id|
- name: Use
input: a|Fetch::email|
See Interpolation for the full a|…|
grammar, and Actions for how inputs fit into an action.