# Google Docs

## Docs formatting issues

### How can I nicely format AI-generated text in docs?

If you've tried inserting text generated by an AI step into a document, you may have noticed issues with formatting. To address this, you can add a markdown data transformation step. This will tell Relay.app to process the text as markdown and format it correctly.

<figure><img src="/files/RDUO0rBSl4GODjGDQ60Q" alt="Data transformation step configuration showing Markdown selected as the transformation type to format AI-generated text"><figcaption><p>Data transformation step applying a Markdown transformation</p></figcaption></figure>

### When I export a Google Doc, it has an expected blank page.

If you are automating Google Doc exports and notice that there are blank pages in the exported document that shouldn't be there, this could be caused by how Google Docs handles document tabs. If the document had multiple tabs previously but one was removed, this can cause blank pages in exports. To fix this, recreate your document as a new Google Doc file.


---

# 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.relay.app/app-specific-faqs/google-docs.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.
