Skip to content
This repository has been archived by the owner on Aug 14, 2020. It is now read-only.

Params V2 docs #41

Open
wants to merge 8 commits into
base: master
Choose a base branch
from
Open

Params V2 docs #41

wants to merge 8 commits into from

Conversation

psavkar
Copy link
Contributor

@psavkar psavkar commented Aug 13, 2020

No description provided.


## 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.
Copy link
Contributor

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
Copy link
Contributor

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).
Copy link
Contributor

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
Copy link
Contributor

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
Copy link
Contributor

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?

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants