L2 Construct: get_all_text
docs googleDescription
GetAllTextFromDocument retrieves all text content from a Google Docs document and returns the full text content.
L2 Data
- Provider: google
- Module: gdocs
- Action: get_all_text
Example Step
{
"name": "insert-your-step-name",
"type": "l2",
"l2_data": {
"provider": "google",
"module": "gdocs",
"action": "get_all_text",
"metadata": {}
}
}
Input
Example
{
"document_id": "1abc123...xyz789"
}
Schema
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "https://pontus.bpa/pkgs/l2/google/gdocs/get-all-text-input",
"$ref": "#/$defs/GetAllTextInput",
"$defs": {
"GetAllTextInput": {
"properties": {
"document_id": {
"type": "string"
}
},
"additionalProperties": false,
"type": "object",
"required": ["document_id"]
}
}
}
Output
Example
{
"full_text": "This is the full text content of the document..."
}
Schema
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "https://pontus.bpa/pkgs/l2/google/gdocs/get-all-text-output",
"$ref": "#/$defs/GetAllTextOutput",
"$defs": {
"GetAllTextOutput": {
"properties": {
"full_text": {
"type": "string"
}
},
"additionalProperties": false,
"type": "object",
"required": ["full_text"]
}
}
}