# v1.4.8

Today we’re releasing two new blocks: **Event and Workflow**.

## [Event Block](/content/changelog/collect-track-automate#event-block/index.html)

Inspired by our previous [Analytics offering](/content/changelog/basehub-templates-search-analytics-and-og-image-block#basehub-analytics-v1/index.html), we're introducing a more powerful “Event” Block. It comes with two layouts that adapt to your needs: a **table layout** for complex data structures and a **time-series layout**.

The table layout excels at showcasing detailed event information with customizable columns and filtering options. The time-series layout enables trend analysis across different time ranges, perfect for metrics and reporting.

For developers, we've rebuilt the event functions from the ground up. The new `sendEvent`, `updateEvent`, and `getEvents` are fully type-safe and work seamlessly with the Event Block’s schema.

Read [our docs and jump right in](https://docs.basehub.com/extras/forms), or keep reading to see some demos!

## [Workflow Block](/content/changelog/collect-track-automate#workflow-block/index.html)

Collecting and reviewing data is nice, but what can we do with all this data? This is a question we asked ourselves while designing the Event Block, and that’s why we built the Workflow Block. The workflow block, as its name implies, is designed to automate different actions inside your repo. V1 launches with essential triggers:

1. New commits,
2. Collection updates (row create/update/delete), and
3. Event submissions.

When any of these happen, you can send a webhook to a server you own, or an internal notification. Each combination of trigger + action opens up new automation possibilities: from simple “contact us” forms to fully functional newsletter subscriptions, workflows will help you enhance your repository's capabilities.

Read more about the Workflow Block [in our Docs](https://docs.basehub.com/blocks/primitives/workflow).

## [`basehub` SDK v8](/content/changelog/collect-track-automate#basehub-sdk-v8/index.html)

These new Blocks require the new version of our SDK:

```
pnpm i basehub@latest
```

Take a look at the [release notes](https://docs.basehub.com/api-reference/javascript-sdk/release-notes/version-8) when upgrading.

## [Demos Please!](/content/changelog/collect-track-automate#demos-please/index.html)

Let’s get to the fun part. These are longer-than-usual demos, but we truly hope you enjoy them.

### [Demo #1: “Feedback” Form](/content/changelog/collect-track-automate#demo-1-feedback-form/index.html)

This first demo goes over everything needed to start working with Forms in BaseHub. It covers: creating the Event Block, hooking it up with the Next.js App, as well as listening for new submissions and posting them to a Discord Channel via a Workflow Block.

### [Demo #2: “Newsletter” Form](/content/changelog/collect-track-automate#demo-2-newsletter-form/index.html)

This one shows off how, via the same simple primitives, you can create a fully featured newsletter in your website. It features a [Resend](https://resend.com/) integration!

### [Demo #3: View Counter](/content/changelog/collect-track-automate#demo-3-view-counter/index.html)

A much simpler demo showing a view counter in [julianbenegas.com](https://www.julianbenegas.com/) ([source](https://github.com/julianbenegas/julianbenegas/blob/master/app/_components/views-fragment.tsx)).

### [Demo #4: Form Builder](/content/changelog/collect-track-automate#demo-4-form-builder/index.html)

Powerful (but short) demo showing off a programmatic form builder in our [Marketing Website Template](/content/basehub/marketing-website/explore/index.html).

## [Closing Thoughts](/content/changelog/collect-track-automate#closing-thoughts/index.html)

With this release, we hope to have conveyed our commitment to creating powerful primitives that, when paired together, can enable more functionality than they seem to on their own. See you in the next one!
