/ Cases / Tourism / Marketing

An Instagram publisher that learns what works

It posts at the scheduled time, measures at one hour, one day, three days and one week, and recommends what and when to post.

/ Atitlán Experience/ 2026.04/ Bayesian average · Thompson sampling · regression

4

measurement points

6

variables in the regression

/ The problem

Posting was done by gut feel, with no idea which kind of post or which time slot actually performed.

/ What we built

  • A content plan as the source of truth and automatic posting through the Instagram API.
  • Metrics at one hour, one day, three days and one week for every post.
  • A Bayesian average so one post doesn't skew everything, Thompson sampling to pick the day×hour slot, and a regression with 6 variables.

/ How it works

  1. 01Content plan
  2. 02Scheduled post
  3. 03Metrics T+1h…7d
  4. 04Recommendation

/ Stack

Instagram Graph APIpg_cronPostgresEstadística bayesiana