# URL Encode

The **URL Encode** block converts text into a URL-safe format.\
It is used when sending data inside URLs to prevent broken API calls.

Steps

1. Add a new node in your flow
2. Go to **Formatter → Text Formatter**
3. Select **URL Encode**
4. Choose your **Authentication**
5. Enter the **Input Text** (e.g., `John Doe & Co`)
6. Click **Run & Save**
7. Open **Run History → Output Response** to view the encoded result

The text will be converted into a safe URL format for transmission in APIs or links.

{% embed url="<https://www.youtube.com/watch?v=LlxyJBEL5zk>" %}


---

# 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://helpdocumentation.gitbook.io/user/automation-apps-blocks/text-block/url-encode.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.
