Instagram content generation flow
Takes a product item, campaign direction, and user requirements through a validator, summarizer, content generator, critique loop, and visualizer.
A full-stack demo that blends customer enquiries, return assessment, and Instagram content generation into one agentic application.
main experiences: enquiries, return flow, and Instagram marketing flow
backend routes with streamed agent output and product lookup
interactive frontend with a clean dashboard-style interface
Takes a product item, campaign direction, and user requirements through a validator, summarizer, content generator, critique loop, and visualizer.
Looks up the customer and product context, checks the seven return guardrails, and scores the return with policy-backed confidence.
Classifies email, text, or voicemail enquiries into seven categories, routes them to the right Snowflake procedure, and drafts a grounded response.
Supports ticket creation, enquiries, return triage, and analytics in the same application.
Pulls live item metadata from Snowflake so the Instagram workflow can validate the item before generating content.
Lets the content agent and critique agent work back and forth for a defined number of rounds before the final visual is created.
The SvelteKit app lets the user open the Instagram page, look up an item, and enter the campaign details.
The item SK, method section content, and campaign caption are sent to the Instagram workflow endpoint.
The validator agent checks item availability and metadata in Snowflake, then the summarizing agent merges those facts with the user requirements.
The content agent drafts the campaign, the critique agent improves it in a loop, and the visualizer generates the final image prompt or visual asset.
The user only provides a product item and campaign direction. The system then grounds the campaign in catalog data, refines the copy through critique cycles, and finishes with a visual prompt for the final post concept.
The agent starts with the customer claim, the item being returned, packaging condition, return quantity, and customer remarks.
The backend looks up the customer’s recent purchase and item metadata from Snowflake so the assessment starts from real transaction data.
The researcher agent evaluates the claim against seven policy checks, asking follow-up questions when the evidence is incomplete.
Each answer is validated against policy logic, and the result is converted into a confidence score that reflects how strong the return case is.
This pipeline reduces guesswork by grounding the claim in purchase history, checking policy guardrails, and turning the result into a confidence-driven recommendation for approve, deny, or manual review.
The user provides an email, text message, or voicemail transcript describing the problem or question.
If the input is audio, the system transcribes it to text so the rest of the workflow can treat every enquiry in a consistent format.
The response agent identifies one of the seven supported enquiry categories and determines which source-of-truth procedure should be used.
The matching Snowflake procedure returns the validation data, and the agent uses it to generate a grounded draft response for review.
This workflow turns unstructured enquiries into a structured support process by classifying the issue, selecting the correct Snowflake-backed procedure, and drafting a response that stays grounded in source-of-truth data.
Use the links below to jump into the repository documentation and the backend entrypoint that powers the app.