Sample Workflow on Website outdated

Describe the problem/error/question

I tried this sample workflow from the n8n website: Send specific PDF attachments from Gmail to Google Drive using OpenAI | n8n workflow template

What is the error message (if any)?

It looks like an old version with this error: Cannot find name ‘key’.

Please share your workflow

Is there any idea how to fix or update this sample workflow? Thanks.

Information on your n8n setup

  • n8n version: 1.76.1
  • Database (default: SQLite): SQLite
  • n8n EXECUTIONS_PROCESS setting (default: own, main): main
  • Running n8n via (Docker, npm, n8n cloud, desktop app): Docker
  • Operating system: debian