Posting Instagram stories with Claude Code

May 15, 2026

Watch on YouTube

Instagram Question Sticker

Hey everyone, this is Allan. Today I want to show you what I did with an Instagram question sticker. I posted a sticker that lets my followers ask me a question, and I received a question in Portuguese because my Instagram is only in Portuguese. I took a screenshot of the question box and saved it in the folder where I work with Cloud Code for my content.

Using Cloud Code

I asked Cloud Code to read the screenshot. It recognized the image, extracted the text of the question, and then pulled relevant content I had produced earlier. In the document called framing it found a principle I had written after a conversation with my friend Victor. I had talked with Victor on WhatsApp, saved our conversation in a folder, and also kept the transcription of the video from day 12.

Generating the Answer

Cloud Code took the transcription, found the line where I said “AI responses are mediocre,” and translated it into Portuguese to match the context of the question about AI hype. It then generated a complete answer in Portuguese.

Creating the Post

After the text was ready, I asked Cloud to create the Instagram post. It produced an image that mimics the original question box and added the full answer text. I had to request a few corrections because the first version wasn’t perfect, but eventually it matched what I wanted.

Building a Template

To streamline future answers, I had Cloud generate a template file, base.css, that defines the layout for these question‑sticker responses. This file will be reused whenever I need to create more answers.

Publishing via API

In the video I posted yesterday I showed how I connected Instagram through the Meta API. Using the Instagram Publish skill I created, Cloud posted the image and text directly to Instagram. The API returned a media ID, which lets me pull insights, such as the number of views and actions, before the 24‑hour story window closes. The story went live 11 minutes ago, and everything worked as expected.

That’s all for today’s video.