LegalTech Logo

LegalTech

← Back to blog

Published on Thu Jan 15 2026 00:00:00 GMT+0000 (Coordinated Universal Time) by Miguel Gonzalez Herrera

🤖 Tutorial: Create Automated Tax Authority Notification Alerts in the BOE

For a lawyer, staying on top of Tax Authority (Agencia Tributaria / Hacienda) notifications that affect clients is critical. Many self-employed people and businesses do not check Spain’s Official State Gazette (BOE) frequently enough, which can lead to penalties, tax demands, or garnishments becoming final before there is time to respond.

In this guide, you will learn how to build a workflow that monitors the BOE for you. It will automatically detect any Tax Authority notification linked to your clients’ NIF numbers and send you an immediate alert.

We will use two powerful tools:

By the end, you will have an automated system that lets you act on time and offer a better service to your clients.

Step 1: Prerequisites

Before starting, make sure you have:

  1. An Apify account: If you do not have one yet, sign up using the button below. The free plan is sufficient, as it provides monthly usage credits to run the actor.

    Create a free Apify account
  2. A Make.com account: If you do not have one yet, sign up using the button below. You can use it for free with the 1,000 operations/month included in the Free plan.

    Create a free Make.com account

Step 2: Set Up the Scenario in Make.com

To make things easier, you can clone a pre-configured scenario from the following link:

https://eu1.make.com/public/shared-scenario/b8YtmTlJN5P/hacienda-notificaciones

The complete workflow looks like this:

Make.com workflow

Below is the configuration for each part.

1. Add the email where you want to receive notifications. Connect Google Drive and Google Sheets

Add the email address where you want to receive notifications. Add notification email

The next step is to connect your Google Drive account to read the search terms from a Google Spreadsheet.

  1. Create a Google Spreadsheet in your Google Drive with a column for the search terms.

Create a Google Spreadsheet in Google Drive

  1. In the Google Drive module in Make, connect your account and select the file and sheet you just created.

Connect Google Drive in Make Configure Google Sheets module in Make

2. Connect Apify

Now we will connect Apify to search for notifications.

  1. Connect Apify: Select the Apify module (Run an Actor) and connect your account using the recommended option. Connect Apify API in Make

  2. Run an Actor: After connecting, the actor we are going to use will be pre-loaded. Save it and move to the next step.

Connect Apify API in Make

  1. Get the results (Get dataset items): Select the next Apify module to retrieve the results (the “dataset”) from the actor run. Apify Get dataset items

3. Connect Gmail

Finally, if results are found, we will send an email.

  1. Select the Gmail module and connect your account. Connect Gmail in Make

  2. You will see the email you set at the beginning of the workflow in the your_email variable. Notifications will arrive there whenever a BOE announcement contains any of your search terms. Connect Gmail in Make

Step 3: How to Test the Workflow in Make

  1. Find a real notification: Go to the latest BOE announcements for Hacienda notifications and find one published today.
Latest Hacienda notifications in BOE
  1. Copy an identifier: Copy a NIF or company name that appears in a recent notification.

  2. Add it to your Google Spreadsheet: Paste the term into your Google Sheets file in the appropriate column. You can add multiple search terms, one per row.

Create a Google Spreadsheet in Google Drive

  1. Run the workflow: In Make.com, click “Run once”.

If the term appears in any notification that day, you will receive an email at the address you configured.

Step 4: Schedule the Workflow

The last step is to automate the execution so you do not have to do it manually.

  1. In Make.com, activate the scenario.
  2. Set up the schedule to run every day at a specific time — for example, at 9:00 AM.

Schedule execution in Make

That is it! From now on, you will have an automated monitoring system for Tax Authority notifications in the BOE, ensuring you never miss an important deadline for your clients.

Written by Miguel Gonzalez Herrera

← Back to blog