Actions5
Convert to API Requests
AI-generatedOverview
This node operation converts Markdown content into Google Docs API requests. It is useful for users who want to transform Markdown-formatted text into a format compatible with Google Docs API, enabling automated document creation or updates. For example, a user can input Markdown content and receive either a single batchUpdate request or multiple separate API requests to manipulate a Google Docs document programmatically.
Use Case Examples
- Converting a Markdown document into a single batchUpdate request for Google Docs API.
- Generating multiple API requests from Markdown content to update different parts of a Google Docs document.
Properties
| Name | Meaning |
|---|---|
| Output Format | Determines whether the output is a single batchUpdate request or multiple separate API requests. |
| Markdown Input | The Markdown content to convert or inject into the Google Docs document. |
| Document Title | Title for the Google Docs document. |
| Additional Options | Additional settings including template settings and page break strategies that influence how the Markdown is converted and formatted in the Google Docs API requests. |
Output
JSON
requests- Array of Google Docs API requests generated from the Markdown input.
Troubleshooting
- Ensure the Markdown Input field is not empty when required, as this may cause errors.
- Invalid or missing configuration in additional options like template settings or page break settings may lead to unexpected output or errors.