Import File
Perform Import File through Google Drive.
google_drive_import_fileUse in a workflow
Copy the discovered node config and fill its params from the input contract. Validate the complete graph before publishing. Integration results use {{node_id.default.field}}. Check business success before dependent writes; completion alone does not prove success.
{
"_group": "Google Drive",
"params": {
"document_type": "Other",
"show_in_inbox": false
},
"handler": "google_drive_import_file"
}Inputs
- Google Sheets Account Id
google_sheets_account_idselectdynamic optionsOptional selected identifier or value. Retrieve allowed values from the dynamic options endpoint.
- Folder Id
folder_idexpressionrequiredRequired literal value or workflow expression.
- File Id
file_idexpressionOptional literal value or workflow expression.
- File Name
file_nameexpressionOptional literal value or workflow expression.
- Document Type
document_typetextOptional text value.
Default:
"Other" - Show In Inbox
show_in_inboxbooleanOptional true-or-false value.
Default:
false
Outputs
successSuccessstatusStatusdocument_idDocument Ids3_pathS3 Pathfile_idFile Idfile_nameFile Namesha256Sha256sizeSizewas_existingWas Existingservice_account_emailService Account EmailerrorErrorerror_messageError Message
Output schema completeness: best_effort_declared
Safety
- External effect
- write
- Confirmation recommended
- No
- Retry safe
- No
- Dry run supported
- No
Schemas
These schemas are first-pass authoring guidance. Runtime validation remains authoritative.
Input schema
{
"type": "object",
"required": [
"folder_id"
],
"properties": {
"file_id": {
"description": "Optional literal value or workflow expression.",
"x-workflow-field-type": "expression"
},
"file_name": {
"description": "Optional literal value or workflow expression.",
"x-workflow-field-type": "expression"
},
"folder_id": {
"description": "Required literal value or workflow expression.",
"x-workflow-field-type": "expression"
},
"document_type": {
"type": "string",
"default": "Other",
"description": "Optional text value.",
"x-workflow-field-type": "text"
},
"show_in_inbox": {
"type": "boolean",
"default": false,
"description": "Optional true-or-false value.",
"x-workflow-field-type": "boolean"
},
"google_sheets_account_id": {
"type": "string",
"description": "Optional selected identifier or value. Retrieve allowed values from the dynamic options endpoint.",
"x-dynamic-options": true,
"x-workflow-field-type": "select"
}
},
"additionalProperties": false
}Output schema
{
"type": "object",
"properties": {
"size": {},
"error": {},
"sha256": {},
"status": {},
"file_id": {},
"s3_path": {},
"success": {},
"file_name": {},
"document_id": {},
"was_existing": {},
"error_message": {},
"service_account_email": {}
},
"additionalProperties": true
}