Build your first workflow
In this quick start, you’ll build a workflow that fetches the weather for Berlin every morning and turns it into a short report anyone can read at a glance. The workflow saves each report to a data table, so you build up a weather log over time.

When it runs, your workflow produces a report like this:
The temperature in Berlin is 6.8 degrees C and it's currently cloudy.You’ll build it with n8n Assistant, which turns a prompt into a working workflow. That takes less than five minutes. If you’d rather build it node by node, an optional section at the end walks you through the same workflow by hand.
You can also follow along with this video:
Apart from n8n, you don’t need any coding experience. The weather data comes from Mockingbird, a sample-data service n8n provides for tutorials, so you’ll get similar results to this guide.
Before you start
You need an n8n instance. Either:
n8n Cloud: sign up for a free trial, or
Self-hosted: follow the host n8n guide, then set up n8n Assistant with your own AI provider account
Build the workflow with n8n Assistant
n8n Assistant builds workflows from prompts. You describe what you want, approve each step, and end up with a workflow you can open, edit, and publish.
Log in to your n8n instance and select New chat in the left menu to talk to the n8n Assistant.

New chat selected in the left menu, with the n8n Assistant chat box open Enter this prompt, or dictate it, and select the send arrow:

The weather workflow prompt entered in the n8n Assistant chat box Approve any prompts from n8n Assistant with Allow once. As it builds the workflow, you'll see the progress on the canvas to the right of the chat.

n8n Assistant asking the user for permission Approve a run if prompted by n8n Assistant. Otherwise, ask n8n Assistant to run a test for you.

n8n Assistant asking to run a live test, with the finished workflow on the canvas Select Publish and enable the schedule if prompted by n8n Assistant, as the workflow only runs at 8 AM every day once you publish it. Otherwise, ask n8n Assistant to publish it for you.

User asking assistant to publish workflow Select the
weather logdata table at the top of the right-hand pane to check the workflow ran as intended. Otherwise, ask n8n Assistant to show you the data table.
weather log tab selected at the top of the right-hand pane Select Personal in the left menu to see the workflow. n8n Assistant saves all workflows under Personal.

weather log listed under Personal, marked as Published
What your workflow does
Open weather log on the canvas and you'll see four nodes, each doing one job and passing its result to the next:
Every day at 8 AM
A Schedule Trigger that starts the workflow at 8 AM every day.
Get Berlin weather
An HTTP Request node that fetches the weather from the Mockingbird API.
Add weather report
An Edit Fields (Set) node that builds the report text, using an expression to pull in the live weather values.
Save weather log
A Data table node that inserts the report as a new row in the table.
Optional: Build the workflow yourself
This section builds the weather log workflow by hand, one node at a time, without n8n Assistant.
You'll end up with a second workflow built from the same four nodes: Every day at 8 AM, Get Berlin weather, Add weather report, and Save weather log. You'll also create a new data table in the process.
1. Create the workflow
Select Personal in the left menu followed by Create workflow. This opens the canvas, where you’ll build your workflow and spend most of this section.

Personal in the left menu and the create workflow button Select the workflow’s name and change it to
Weather Log 2(or something more creative). Select anywhere on the canvas to save the name.
2. Run it at 8 AM every day
You’ll use: Schedule Trigger
When building a workflow, the first question to answer is: “How should this workflow start?” On a schedule, for example 8 AM every day? When a user submits a form? When an application like Telegram sends a message?
For this build, you'll set it to run at 8 AM every day. While you build, you’ll run the workflow yourself to test it. Once you publish it at the end, the schedule runs it for you:
Select Add first step, then select On a schedule.

On a schedule option Select
8amfrom the Trigger at Hour field in the Node details view. Select the close button in the top right to close the window.
Trigger at Hour set to 8 AM Select the Schedule Trigger node and press space bar to open up the rename dialog box. Rename it to
Every day at 8 AM.
Renamed Schedule Trigger
3. Get the weather for Berlin
You’ll use: HTTP Request
You’ve got your trigger, so it’s time to fetch the weather. The HTTP Request node sends a request to a web address, called an endpoint, and returns the data that address provides. Services that share data this way are APIs.
Select + after the trigger, type
httpin the Search nodes box, and select HTTP Request.
HTTP Request in the search results Paste
https://mockingbird.n8n.io/v1/weather/berlininto the URL field in the Node details view.
Mockingbird URL in the URL field Press Execute step. You should see the weather for Berlin in the output, including the
city,temp_c, andconditionfields you’ll use in the next step.
Berlin weather output Rename the node to be
Get Berlin weather.
4. Turn the weather into a report
You’ll use: Edit Fields (Set)
Next, you’ll turn the weather data into a short report that anyone can read at a glance.
Select + after Get Berlin weather, select Data transformation, then select Edit Fields (Set).

Edit Fields (Set) under Data transformation Select Add Field in the middle of the Node details view. For Name, enter
report.
Add Field button 
Field named report Enter
The temperature infor Value, then dragcityfrom the input panel on the left. When you drop a field in, n8n switches Value to Expression mode, and you see:
city dragged into the Value field Drag
temp_cin and update the wording to:
Value with city and temperature Add
It's currentlyto the end, then dragconditionin:
Value with city, temperature, and condition Rename the node to
Add weather reportand select Execute step.
5. Save the data
You’ll use: Data table
You’ve fetched the data and formatted it, so now it’s time to store it. You'll create a data table in the process.
Add a Data table node after Add weather report and select Insert row as the action.

Insert row action Open the node, select the drop down under Data table, then select Create new data table:

Create a new data table A new browser tab will open.
Enter
weather log 2for the name of your data table (or something creative!), and select Create:
Name the new data table Select Add Column on the top right and enter
reportbefore selecting Add Column. This will be the column the data from theAdd weather reportnode gets saved to.
Add a column to the new data table Navigate back to the workflow tab.
Select the data table you just created from the Data table list and change Mapping Column Mode to Map Automatically. The
reportfield from Add weather report has the same name as the column in the data table, so n8n maps them for you.
Data table node with the data table selected and Map Automatically set Rename the node to
Save weather log.
6. Test and publish the workflow
Your workflow is complete. Test it, then publish it so it runs every day at 8 AM.
Select Execute under the canvas to test it. You should see green check marks on all four nodes:

Successful workflow run after execution Navigate to Personal > Data tables to see the new row.
Select Publish in the Canvas header and follow the prompts to publish the workflow.

Publish the workflow
Next steps
Take courses at n8n Academy.
Explore more examples in workflow templates.
Related resources
Last updated
Was this helpful?