Error send photo from telegram to openai

In n8n, I am trying to send a photo from Telegram to OpenAI Analyze Image, but I am getting an error when taking the photo.

this.get Node Parameter(…).split is not a function

How can I transfer a photo to OpenAL?

It looks like your topic is missing some important information. Could you provide the following if applicable.

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

Hi @walker,

Welcome to the community :tada: Thanks for posting the screenshot, could you share your workflow by pasting in the json?

Tip for sharing your workflow in the forum

Pasting your n8n workflow


Ensure to copy your n8n workflow and paste it in the code block, that is in between the pairs of triple backticks, which also could be achieved by clicking </> (preformatted text) in the editor and pasting in your workflow.

```
<your workflow>
```

Make sure that you’ve removed any sensitive information from your workflow and include dummy data or pinned data as much as you can!


In order to pass the image to the OpenAI node, you need to make sure that ‘Download Images/Files’ option in the Additional Fields is turned on:

Then reference the binary data file by its file name instead of using expressions:

Hope that helps!

2 Likes

Thank you.

1 Like

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