Detect the publication of a new article

I would like to detect the publication of a new article.

I wish I could call a function as soon as a new article is published.

At the moment what I can think of is to use a server-side cron to detect every new entry in the article table and then to execute my function.

Any advice for a client-side alternative solution?

@giacomosilli it sounds like you’re looking for webhooks - Their purpose is for running some external code as soon as an event in Ghost occurs.