How to combine HuggingFace image and AI-generated caption in one Instagram post?

Hey community :wave:
I’m building a workflow where:

  1. A Hugging Face model generates an image.
  2. An AI model (like OpenAI) creates a caption.
  3. I want to post both image + caption together on Instagram using n8n.

I tried using the Merge node but had issues with the image URL and text joining properly.
Is there a better way — like using a Set node or Function node — to prepare the content before sending it to the Instagram node?

Any example or tips would be greatly appreciated :pray:
Thanks in advance!

Hi,

Can you please post your workflow code in order to be able to troubleshoot.

regards
J.