Chain Source

A chain source defines how a Chain gets its value. It populates the source field of a chain. There are multiple source types, and the type is specified using YAML's tag syntax.

Variants

VariantTypeValueChained Value
requeststringRequest Recipe IDBody of the most recent response for a specific request recipe.
commandstring[][program, ...arguments]Stdout of the executed command
filestringPath (relative to current directory)Contents of the file
promptstringDescriptive prompt for the userValue entered by the user

Examples

See the Chain docs for more holistic examples.

!request login
---
!command ["echo", "-n", "hello"]
---
!file ./username.txt
---
!prompt Enter Password