-
Notifications
You must be signed in to change notification settings - Fork 12
Params V2 docs #41
base: master
Are you sure you want to change the base?
Params V2 docs #41
Conversation
|
||
## What are params? | ||
|
||
Params are form inputs that can be added to code steps in a workflow to abstract data from the code and improve reusability. Most actions use params to capture user input (e.g., to allow users to customize the URL, method and payload for the Send HTTP Request action). You can reference objects in scope (e.g., `event`, `steps`, `process.env`) in params inputs to pass dynamic data to a step. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
extra space in "You can reference"
+ [Adding params to a code step](#adding-params-to-a-code-step) | ||
+ [Configuring the params form](#configuring-the-params-form) | ||
|
||
## Entering Expressions |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It's not immediately clear that I can enter JavaScript expressions, even in the "Manually enter or edit an expression" section - maybe elaborate on that fact?
|
||
### Basic Params | ||
|
||
Basic params support simple values or, expressions in <code>{{...}}</code>. You can enter expressions by copying the path from step observability, using the object explorer below the params input, or by manually entering a value within <code>{{...}}</code> (Pipedream provides autocomplete for the objects in scope, but you can also enter a value that is not supported by autocomplete). |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
"Basic params support simple values or," -> no comma necessary
@@ -0,0 +1,5 @@ | |||
# test |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Did you mean to include this file in the commit?
@@ -0,0 +1,103 @@ | |||
# Params |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I realized this copy and the other README are both included - did you mean to include this file in the commit?
No description provided.