This is a custom Slack application built to post weekly doughnuts to a slack channel of your choosing.
Using Netlify Functions it runs a serverless endpoint to grab weekly flavours from Boxcar Donuts and post them to Slack using webhook and their Block Kit component structure.
{
type: 'section',
block_id: doughnut.id,
text: {
type: 'mrkdwn',
text: `*${doughnut.name}* ${doughnut.price} | <${doughnut.url}| BUY NOW!> \n ${doughnut.description}`
},
accessory: {
type: 'image',
image_url: doughnut.imageUrl,
alt_text: doughnut.name
}
}