> For the complete documentation index, see [llms.txt](https://docs.realmjoin.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.realmjoin.com/pt/dev-reference/report-functions.md).

# Funções de relatório

Funções auxiliares utilizadas por runbooks de relatório para entregar resultados por e-mail ou Azure Storage.

Esta seção documenta as funções auxiliares compartilhadas do PowerShell disponíveis para os runbooks de relatórios do RealmJoin. As funções fazem parte do **RealmJoin.RunbookHelper** módulo e implementam os canais de entrega descritos em [Definições de relatório do runbook](https://docs.realmjoin.com/pt/automatizacao/runbooks/runbook-report-settings.md). Elas são usadas pelos runbooks para enviar os resultados dos relatórios aos administradores.

| Função                                                                                                                                     | Finalidade                                                                                                                                                        |
| ------------------------------------------------------------------------------------------------------------------------------------------ | ----------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| [Send-RjRbReportEmail](https://docs.realmjoin.com/pt/dev-reference/report-functions/send-rjrbreportemail.md)                               | Envia e-mails de relatório HTML com a marca via Microsoft Graph. Converte o conteúdo Markdown em HTML responsivo e entrega um e-mail por destinatário.            |
| [Get-RjRbBrandingMailParams](https://docs.realmjoin.com/pt/dev-reference/report-functions/get-rjrbbrandingmailparams.md)                   | Resolve as `RJReport.Branding.*` configurações do Tenant — baixa e valida imagens personalizadas de cabeçalho/rodapé — em parâmetros para `Send-RjRbReportEmail`. |
| [Publish-RjRbFilesToStorageContainer](https://docs.realmjoin.com/pt/dev-reference/report-functions/publish-rjrbfilestostoragecontainer.md) | Carrega arquivos de relatório para Azure Blob Storage e retorna links de download SAS com validade limitada.                                                      |
| [Export-RjRbXlsx](https://docs.realmjoin.com/pt/dev-reference/report-functions/export-rjrbxlsx.md)                                         | Exporta objetos para pastas de trabalho nativas do Excel estilizadas (.xlsx) sem dependências de módulos externos.                                                |


---

# 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 by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://docs.realmjoin.com/pt/dev-reference/report-functions.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

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.
