---
title: "Create or Update Workflow Trigger"
method: PUT
path: "/environments/{id}/downstream"
tags: ["Environments"]
---

# Create or Update Workflow Trigger

`PUT /environments/{id}/downstream`

Env0 allows you to configure chained dependent environments to your current environment.
Using workflow triggers, you can define which environments would trigger
a deployment downstream in response to a deployment of your current environment.
This allows you to configure a cascading series of environment deployments."
More on https://docs.envzero.com/docs/workflow-triggers

## Path parameters

- `id` string, required

## Request body

- EnvironmentApiUpdateDownstreamEnvironmentsRequestBody
  - `downstreamEnvironmentIds` string[], required

## Response `200`

- EnvironmentApiDownstreamEnvironment[]
  - `id` string, required
  - `name` string, required
  - `workspaceName` string, required
  - `projectId` string, required
  - `latestDeploymentLog` object, required
    - `blueprintName` string, required

---

[API](https://skmtc.dev/envzero/apis/env0-api.md) · [All operations](https://skmtc.dev/envzero/apis/env0-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/envzero/env0-api/revisions/513441cbe9dc/schema)
