Skip to content
NEWMarketplace and your team: sell what you build, and get plans and changes that are tested before you see them. See what is new

Library / Files & Cloud Storage

Files & Cloud Storage

Generate social media posts and images with Groq, OpenAI and Google Drive

When a form is submitted, it manages files with OpenAI / ChatGPT and Groq using Groq, Google Drive.

What it does

## AI Post Generation ### How it works This workflow starts from a form submission, uses a Groq-powered AI agent to turn the user input into structured prompts, then generates an image with OpenAI. The generated image is uploaded to Google Drive, after which another AI agent writes the post content and a final agent converts it into structured HTML. The finished HTML is shown back to the user in a result form. ### Setup steps - Configure the Form trigger with the fields needed to collect the post topic, audience, style, or other prompt inputs. - Add valid Groq credentials for each LangChain chat model used by the AI agents, and confirm the structured output parsers match the expected JSON schemas. - Add OpenAI credentials and configure the image generation model, size, and prompt mapping from the prompt generator output. - Connect Google Drive credentials and choose the target folder or upload settings for storing generated images. - Configure the final Result form to display the generated HTML or any other fields returned by the HTML Code Generator. ### Customization You can customize the form fields, agent prompts, structured output schemas, image style settings, Drive destination folder, and final HTML template to match different social platforms or content formats.

The steps

  1. Form Submission Trigger
  2. Prompt Creation Agent
  3. Language Model Processor
  4. Output Structuring Parser
  5. AI Image Generator
  6. Chat Model Execution
  7. Output Parsing Agent
  8. Groq Chat Model Execution
  9. HTML Generation Agent
  10. Structured Output Parser
  11. Upload to Google Drive
  12. Post Content Generator
  13. Display Final Result

Similar automations