How to upload google drive file using airtop node?

Describe the problem/error/question

I am trying to automate browser operation with airtop node.
Specifically , trying to upload the CSV file in google drive to browser screen.

for example like the file upload from "choose images " in below.(the actual website i want to upload is different)

I am using airtop node with operation “Upload” with the setting below but I get error “Cannot read properties of undefined (reading ‘data’)”

Guess my file name “{{ $(‘Google Drive’).item.binary.data.fileName }}” might be wrong but not sure how to correct. Please help me out.

Please share your workflow

Share the output returned by the last node

Cannot read properties of undefined (reading ‘data’)

Information on your n8n setup

  • n8n version:1.99.1
  • Running n8n via: n8n cloud

Hi,

The reason for this is because the binary file isn’t being passed through. Put the gdrive node before the last Airtop node (the upload one). Then it should work.

1 Like

thank you! it worked!

1 Like

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.