Import from Google Drive
import_from_google_driveRead a file from the connected Google Drive and make a flow from it, the same way as create_flow_from_text. draw.io, Mermaid, and SVG files become a flow without AI. Reads Google Docs, Sheets, Slides, and .txt, .md, .vtt, .srt, .json, .csv, .pdf, .docx, .drawio, .mmd, .svg files. Set import_only to get the text back without making a flow. Wavelength can open only files it created or files you picked in Wavelength. If Drive is not connected, the error says where to connect it.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | No | Optional. A Drive or Docs url, in place of file_id. | |
| title | No | Optional flow title. Default: the file name. | |
| org_id | No | Optional organization id. The flow is saved in that organization. | |
| file_id | No | The Drive file id, or a Drive or Docs url for the file. | |
| team_id | No | Optional team id for the new flow. | |
| direction | No | Optional layout direction. Default vertical. | |
| folder_id | No | Optional folder id for the new flow. | |
| import_only | No | true returns the file text and makes no flow. |