> For the complete documentation index, see [llms.txt](https://help.cosmobots.io/help/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://help.cosmobots.io/help/outros/exemplos-de-codigos-javascript.md).

# Exemplos de Códigos JavaScript

- [Envio de Imagens/Anexos/Vídeos/Áudios](https://help.cosmobots.io/help/outros/exemplos-de-codigos-javascript/exemplos-de-codigos.md): Olá Cosmonauta! Aqui você terá alguns exemplos de códigos que podem ser utilizados na etapa JS
- [Adicionar TAGS pelo fluxo](https://help.cosmobots.io/help/outros/exemplos-de-codigos-javascript/adicionar-tags-pelo-fluxo.md)
- [Limpar TAGS pelo fluxo](https://help.cosmobots.io/help/outros/exemplos-de-codigos-javascript/limpar-tags-pelo-fluxo.md)
- [Parar o bot por x tempo](https://help.cosmobots.io/help/outros/exemplos-de-codigos-javascript/parar-o-bot-por-x-tempo.md)
- [Validar data digitada pelo usuário](https://help.cosmobots.io/help/outros/exemplos-de-codigos-javascript/validar-data-digitada-pelo-usuario.md)
- [Converter arquivos em B64](https://help.cosmobots.io/help/outros/exemplos-de-codigos-javascript/converter-arquivos-em-b64.md)
- [Validador de resposta a templates](https://help.cosmobots.io/help/outros/exemplos-de-codigos-javascript/validador-de-resposta-a-templates.md): É possível configurar um validador dos botões configurados no Template, por meio de um JS.
- [Validar menção no Instagram](https://help.cosmobots.io/help/outros/exemplos-de-codigos-javascript/validar-mencao-no-instagram.md)


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## 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://help.cosmobots.io/help/outros/exemplos-de-codigos-javascript.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.
