Use cases

Save this month's invoice attachments to a Drive folder

Your agent finds this month's invoice emails and puts each attached PDF in the Drive folder you name, with a checksum for every file. DataToRAG gives an agent such as Claude, ChatGPT, or Cursor your Gmail and Google Drive through one connection, so the agent does this from a single request.

Updated

A replay of this request. Sample content.

Save every invoice PDF I was emailed this month into my Invoices folder in Drive.

  1. Find this month's emails that carry an invoice

  2. Read each one and list its attachments with their part ids

  3. Find the Invoices folder you named

  4. Put each PDF in the folder, one call for each file

Three invoices are in your Invoices folder. Drive's checksum matches what was sent for each one.

FileSizeChecksum
invoice-1042.pdf184 KBMatches what Drive stored
invoice-1043.pdf97 KBMatches what Drive stored
hosting-november.pdf212 KBMatches what Drive stored

What to ask

Prompt

Save every invoice PDF I was emailed this month into my Invoices folder in Drive.

What the agent does

  1. Find this month's emails that carry an invoice gmail_search
  2. Read each one and list its attachments with their part ids gmail_read
  3. Find the Invoices folder you named drive_search
  4. Put each PDF in the folder, one call for each file drive_upload_file

What comes back

Three invoices are in your Invoices folder. Drive's checksum matches what was sent for each one.

FileSizeChecksum
invoice-1042.pdf184 KBMatches what Drive stored
invoice-1043.pdf97 KBMatches what Drive stored
hosting-november.pdf212 KBMatches what Drive stored

Sample content. Yours comes from your own accounts.

Try it

In Claude, open Customize, then Connectors, choose Add, then Add custom connector, and paste the URL.

No account needed first: your client asks you to sign in with Google when it connects.

The Free plan allows one custom connector. On Team and Enterprise, an owner adds it for the organization.

The tools it uses

Related use cases