Automating a business workflow#
Remember our friend Nathan?
Nathan π: Hello, it's me again. My manager was so impressed with my first workflow automation solution, that she entrusted me with more responsibility.
You π©βπ§: More work and responsibility. Congratulations, I guess. What do you need to do now?
Nathan π: I got access to all sales data and am responsible for creating two reports: one for regional sales and one for orders prices. They are based on data from different sources and come in different formats.
You π©βπ§: Sounds like a lot of manual workβbut the kind that can be automated. So let's do it!
Workflow design#
Now that we have an idea of what Nathan wants to automate, let's list the steps he needs to take to achieve this:
- Get and combine data from all necessary sources.
- Sort the data and format the dates.
- Write binary files.
- Send notifications via email and Discord.
n8n provides core nodes for all these steps. This use case is somewhat complex and it will be made up of three separate workflows:
- A workflow that merges the company data with external information.
- A workflow that generates the reports.
- A workflow that monitors errors in the second workflow.
Workflow prerequisites#
To build the workflows, you will need the following:
- An Airtable account and credentials.
- A Google account and credentials to access Gmail.
- A Discord account and webhook URL (you receive this via email when you sign up for this course).
Next, you will build these three workflows with step-by-step instructions.