Marketing Automation Blog

Guides on automating and scaling your marketing activities

When this happens...

New row in Google Sheets

Do this...

Create an Image in Bannerbear

Then this...

Schedule for Posting on Social Media

//auto generate a unique poster image for every article
const api_key = process.env.API_KEY;
const base = `https://cdn.bannerbear.com/signedurl/${process.env.BASE_ID}/image.jpg`;

let modifications = [
  {
    "name":"title",
    "text": article_title
  },
  {
    "name":"avatar",
    "image_url": author_avatar_url
  }
];

let query = "?modifications=" + base64url(JSON.stringify(modifications));
let signature = crypto.createHmac("sha256", api_key).update(base+query).digest("hex");

let url = base + query + "&s=" + signature;

All Blog Articles

Follow the Journey

Hello I'm Jon, the founder of Bannerbear — every 2 weeks I send a newsletter with updates from the Product, Marketing and Business sides of my startup, subscribe below to receive it!