© 2025 Juan Miguel Belarmino. All Rights Reserved.

{ "Quote" : "Automation doesn't steal our humanity, it multiplies it, turning hours of toil into moments of meaning"}

Lets Connect!

Project #1 - Facebook Weather Quote Post

Project #2 - Facebook Page Bot

Key Benefits

Multilingual, friendly communication tailored to customer language.

  • Context-aware conversations with memory for smoother, personalized customer interactions.

  • Accurate answers sourced strictly from the knowledge base—no hallucinations.

  • Handles product inquiries, ordering, customization, and shipping questions 24/7.

  • Reliable automated customer support for Facebook business pages with anime-inspired bracelet products.

Workflow Info

An automated Facebook Messenger AI chatbot that validates incoming messages, retrieves accurate product information from a knowledge base, and delivers intelligent, context-aware replies for Facebook Page using Google Gemini AI.

Workflow Steps

Messenger Intake & Validation

  • Trigger: Meta Developer Webhook receives Facebook messages and verification requests.

  • Validation:

    • Valid Request Filter authenticates webhook requests and responds with the challenge token.

    • Auto Message Filter ensures messages contain actual text before continuing.

Knowledge Retrieval & AI Processing

  • Knowledge Base pulls product details, pricing, policies, and customization info from a Google Doc.

  • AI Agent (Google Gemini) analyzes messages, uses conversation memory, and generates accurate, context-aware responses based strictly on the knowledge base.

Messenger Response Handling

  • Facebook Post Request sends the AI-generated reply back to the customer via the Messenger API.

Project #3 - Youtube Shorts Automation

Workflow Info

An automated YouTube content creation system that generates AI-powered ASMR cooking videos using Google's Veo 3.1 model and publishes them directly to Youtube. The workflow transforms cooking prompts into cinematic short-form videos with detailed visual and audio descriptions, then handles the entire video generation and posting process.



Key Benefits

Fully automated content pipeline from concept to published video.

  • Cinematic ASMR quality with detailed prompts for realistic visuals and immersive sound design.

  • Vertical video format (9:16) optimized for mobile and social media platforms.

  • Intelligent retry logic handles video generation delays and errors gracefully.

  • Content safety filtering ensures only approved videos are published.

  • Daily scheduling maintains consistent content output without manual intervention.

  • Multi-part video generation creates detailed, sequential storytelling in short-form format.

Workflow Steps

Prompt Generation & Structuring

  • Trigger: Schedule Trigger runs daily to initiate the video creation process.

  • AI Prompt Creation: Basic LLM Chain (Google Gemini) transforms cooking concepts into detailed, cinematic ASMR video prompts with 7 sequential parts, including camera angles, lighting, sound design, and visual details.

  • Structured Output Parser: Formats the AI output into a structured JSON with Prompt, Title, Description, and Part 1-7 fields.

Authentication & Video Generation

  • Secret Payload: Loads Google Cloud service account credentials.

  • JWT: Creates a signed JSON Web Token for authentication.

  • Exchange JWT for Access Token: Obtains OAuth2 access token for Google Cloud API calls.

  • Video Loop Parts: Splits the 7-part video prompt into individual segments for sequential processing.

  • Split Out: Separates each video part for individual generation.

Video Processing & Validation

  • Generate Video: Calls Google Veo 3.1 API to create 8-second vertical (9:16) video clips with audio based on the ASMR prompt.

  • 30 Seconds Wait: Pauses execution while the video generation processes.

  • Get Generated Video: Retrieves the video generation status and result.

  • JSON Error?: Validates the API response has no errors.

  • IsDone?: Checks if video generation is complete; if not, waits another 30 seconds.

  • Terms and Condition?: Filters out videos flagged by content safety policies.

  • IsError?: Final validation before proceeding to publish.

Publishing

  • Convert to Readable File: Converts base64-encoded video data to binary file format.

  • Loop Over Items: Processes each generated video segment individually.

  • Youtube Channel: Posts the final video to Youtube with the AI-generated description as the caption.

L

o

a

d

i

n

g

.

.

.

Workflow Steps

Weather Data Collection

  • Trigger: Schedule Trigger runs three times daily (6 AM, 12 PM, 6 PM).

  • Weather API: Fetches current weather conditions for Manila including temperature, weather condition, and location details.

AI Content Generation & Validation

  • AI Agent (Google Gemini): Generates unique weather-based quotes and post descriptions, searches for relevant images, and formats output with date/time.

  • Google Sheets Tools: Four validation tools ensure uniqueness:

    • Quote & Description Checker: Reads existing quotes/descriptions

    • Quotes & Description Logs: Stores new quotes/descriptions

    • Image URL Checker: Reads existing image URLs

    • Image URL Logs: Stores new image URLs

  • Image Search Engine: Custom Google search for weather-relevant images (JPG/PNG).

  • Structured Output Parser: Validates AI output contains all required fields (date, time, quote, description, image URL, temperatures, weather icon).

Graphic Design & Fallback

  • Output Checker: Validates complete AI output before proceeding.

  • API Template.IO: Primary graphic generator - creates branded weather post with all data overlays.

  • Image File Checker 1: Validates API Template.IO output.

  • Imejis.Io: Backup graphic generator if primary fails.

  • Image File Checker 2: Validates Imejis.Io output.

Facebook Publishing & Logging

  • Facebook Page Post 1: Posts graphic from API Template.IO with AI-generated description.

  • Facebook Page Post 2: Posts graphic from Imejis.Io (fallback) with AI-generated description.

  • Final Output Logs: Records successful posts to Google Sheets with timestamp, location, and completion status.

Chat Interface (Bonus)

  • When chat message received: Alternative trigger for manual weather queries.

  • Weather API 1: Fetches weather for user-specified location via chat input.

Workflow Info

An automated Facebook weather post generator that fetches real-time weather data, creates unique AI-generated quotes and descriptions, searches for relevant images, designs custom graphics, and publishes them to a Facebook Page at scheduled intervals throughout the day.

Key Benefits

  • Multilingual, friendly communication.

  • Context-aware conversations with memory for smoother customer interactions.

  • Accurate answers sourced strictly from the knowledge base.

  • Handles product, ordering, customization, and shipping questions 24/7.

  • Reliable automated customer support for Facebook business pages.





Create a free website with Framer, the website builder loved by startups, designers and agencies.