Skip to content

Commit

Permalink
provide example
Browse files Browse the repository at this point in the history
  • Loading branch information
wintonzheng committed Jan 22, 2025
1 parent 804fbb2 commit 9cf53eb
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
5 changes: 4 additions & 1 deletion docs/workflows/what-is-a-parameter.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -94,4 +94,7 @@ You can reference any parameter in your workflows by using the `{{ parameter_key
For example, if you have a parameter with the key `website_url`, you can reference it in a task block by using `{{ website_url }}` in the URL field.

### Referencing Block Output
A block can have output. To reference the output of a block, you can use the `{{ block_label.output }}` syntax.
A block can have output. To reference the output of a block, you can use the `{{ block_label.output }}` syntax.

In the following example, the "send_email" block references the output of "extract_stock_price" block in the body field and sends an email with the stock price.
<img src="/images/what_is_a_parameter/workflow_block_output_example.png"/>

0 comments on commit 9cf53eb

Please # to comment.