# Edit Workflows with Copilot

Copilot can help you edit and refine your existing workflows. When you make a request, it analyzes your current workflow structure and provides suggestions for modifications, whether it's adding new steps, improving existing ones, or fixing errors.

## Applying Changes with Copilot

* When you need to modify your existing workflow steps, Copilot can recommend changes to step configurations, prompts, or parameters.
* Simply click the "Apply changes" button when Copilot suggests modifications to an existing step.
* This streamlined approach allows you to quickly implement improvements to your workflow components without having to rebuild them from scratch.

<figure><img src="/files/rEnzEQ8QHOtodu9qMIE1" alt="" width="563"><figcaption></figcaption></figure>

## Adding Steps with Copilot

* For requests requiring new steps, Copilot can recommend adding entirely new steps to your workflow.
* By clicking the "Add Step" button when Copilot makes these suggestions, you can seamlessly incorporate new capabilities into your workflow.
* The new steps integrate smoothly with your existing workflow, ensuring existing variables and steps are referenced correctly.

<figure><img src="/files/zMLCA46xx3BFRohOGl6V" alt="" width="563"><figcaption></figcaption></figure>

## Copilot Auto-Mode

* Auto Mode lets Copilot automatically apply changes, test outputs, and make further improvements without requiring you to manually accept each suggestion.
* Copilot analyzes each step's output and continues refining until your original request is fully addressed.
* Auto Mode currently works with LLM and Code Steps, with support for additional step types expanding soon.

<figure><img src="/files/cMSUyPdIC26X2TnTizD6" alt=""><figcaption></figcaption></figure>

**How to Activate Auto-Mode:** Click the sparkle icon next to the input field when asking Copilot to make workflow improvements to enable Auto Mode.


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.airops.com/actions/chat-with-copilot/edit-workflows-with-copilot.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
