---
title: Using workflow inputs
source: https://docs.newrelic.com/docs/workflow-automation/workflow-examples/basic-patterns/workflow-inputs
---

Use `${{ .workflowInputs.variableName }}` to pass dynamic values at runtime in endpoint URLs and other input fields.

**What this approach does:**

-   Accept dynamic input values when workflow is triggered
-   Reference input values using template syntax throughout workflow steps
-   Enable workflow reusability with different parameters

## Example

```json
  {
    "inputs": [
      {
        "key": "urlParams",
        "value": "{\"filter\": \"active\"}"
      },
      {
        "key": "headers",
        "value": "{\"Api-Key\": \"your-api-key\"}"
      }
    ]
  }
```

## Related topics [#related-topics]

[Data passing](https://docs.newrelic.com/docs/workflow-automation/workflow-examples/basic-patterns/data-passing)

Pass inputs between workflow steps

[Start workflow run API](https://docs.newrelic.com/docs/workflow-automation/workflow-automation-apis/start-workflow-run)

Provide inputs when starting workflows via API

[Definition schema: Workflow inputs](https://docs.newrelic.com/docs/workflow-automation/workflow-automation-apis/definition-schema#workflowinputs)

Complete input validation reference
