mirror of
https://github.com/n8n-io/n8n-docs.git
synced 2025-11-20 17:48:34 +00:00
Merge pull request #1702 from n8n-io/ppolinaua-patch-1
Update chapter-2.md
This commit is contained in:
commit
940a2d4aa6
@ -13,7 +13,7 @@ In this lesson, you will build a small workflow that gets 10 articles about auto
|
||||
|
||||
## 1. Add the Hacker News node
|
||||
|
||||
Open the nodes panel, search for the *Hacker News* node, and click on it to add it to the Editor UI. Connect the *Hacker News node* to the *Start node*.
|
||||
Open the nodes panel, search for the *Hacker News* node, and click on it to add it to the Editor UI. Connect the *Hacker News node* to the *Manual Trigger node*.
|
||||
|
||||
## 2. Configure the Hacker News node
|
||||
|
||||
@ -40,7 +40,7 @@ Additional fields are options that you can add to certain nodes to make your req
|
||||
|
||||
The configuration of the parameters for the *Hacker News node* should now look like this:
|
||||
|
||||
<figure><img src="/_images/courses/level-one/chapter-one/hacker-news-params.png" alt="Hacker News node parameters" style="width:100%"><figcaption align = "center"><i>Hacker News node parameters</i></figcaption></figure>
|
||||
<figure><img src="/_images/courses/level-one/chapter-two/l1-c-2-hacker-news-node-parameters.png" alt="Hacker News node parameters" style="width:100%"><figcaption align = "center"><i>Hacker News node parameters</i></figcaption></figure>
|
||||
|
||||
### Settings
|
||||
|
||||
@ -55,7 +55,7 @@ This option will display the description note under the node in the Editor UI.
|
||||
|
||||
The configuration of the settings for the *Hacker News node* looks like this:
|
||||
|
||||
<figure><img src="/_images/courses/level-one/chapter-one/hacker-news-settings.png" alt="Hacker News node renaming" style="width:100%"><figcaption align = "center"><i>Hacker News node renaming</i></figcaption></figure>
|
||||
<figure><img src="/_images/courses/level-one/chapter-two/l1-c2-hacker-news-node-setting-configuration.png" alt="Hacker News node renaming" style="width:100%"><figcaption align = "center"><i>Hacker News node renaming</i></figcaption></figure>
|
||||
|
||||
|
||||
!!! note "Renaming a node"
|
||||
@ -64,7 +64,7 @@ The configuration of the settings for the *Hacker News node* looks like this:
|
||||
- Select the node you want to rename and at the same time press the F2 key on your keyboard.
|
||||
- Double-click on the node to open the node window. Click on the name of the node in the top left corner of the window, rename it as you like, then click *Rename* to save the node under the new name.
|
||||
|
||||
<figure><img src="/_images/courses/level-one/chapter-one/renaming-node-keyboard.png" alt="Renaming a node" style="width:100%"><figcaption align = "center"><i>Renaming a node from the keyboard</i></figcaption></figure>
|
||||
<figure><img src="/_images/courses/level-one/chapter-two/l1-c2-renaming-a-node-from-the-keyboard.png" alt="Renaming a node" style="width:100%"><figcaption align = "center"><i>Renaming a node from the keyboard</i></figcaption></figure>
|
||||
|
||||
|
||||
## 3. Save the workflow
|
||||
@ -81,7 +81,7 @@ There are two ways in which you can save a workflow:
|
||||
|
||||
Click on the *Execute Node* button in the top right corner of the node window. You should see 10 results in *Table* view.
|
||||
|
||||
<figure><img src="/_images/courses/level-one/chapter-one/hacker-news-table.png" alt="Results in Table view for the Hacker News node" style="width:100%"><figcaption align = "center"><i>Results in Table view for the Hacker News node</i></figcaption></figure>
|
||||
<figure><img src="/_images/courses/level-one/chapter-two/l1-c2-results-in-table-view-for-the-hacker-news-node.png" alt="Results in Table view for the Hacker News node" style="width:100%"><figcaption align = "center"><i>Results in Table view for the Hacker News node</i></figcaption></figure>
|
||||
|
||||
## Node executions
|
||||
|
||||
@ -89,17 +89,17 @@ Click on the *Execute Node* button in the top right corner of the node window. Y
|
||||
A node execution represents a run of that node to retrieve the specified data.
|
||||
|
||||
|
||||
If a node executed successfully a small green circle with a number inside will appear on top of the node.
|
||||
If a node is executed successfully a small green circle with a number inside will appear on top of the node.
|
||||
|
||||
<figure><img src="/_images/courses/level-one/chapter-one/hacker-news-success.png" alt="Successfully executed workflow" style="width:100%"><figcaption align = "center"><i>Successfully executed workflow</i></figcaption></figure>
|
||||
<figure><img src="/_images/courses/level-one/chapter-two/l1-c2-successfully-executed-workflow.png" alt="Successfully executed workflow" style="width:100%"><figcaption align = "center"><i>Successfully executed workflow</i></figcaption></figure>
|
||||
|
||||
If the parameters are configured correctly and everything works fine, the requested data will be displayed in the node window in *Table* and *JSON* format. You can switch between these views by selecting the one you want from the *JSON|Table* button at the top of the node window.
|
||||
If the parameters are configured correctly and everything works fine, the requested data will be displayed in the node window in *Table*, *JSON* and *Schema* format. You can switch between these views by selecting the one you want from the *JSON|Table|Schema* button at the top of the node window.
|
||||
|
||||
!!! note "Table vs JSON views"
|
||||
The *Table* view is the default. It displays the requested data in a table, where the rows are the records and the columns are the available attributes of those records.
|
||||
|
||||
|
||||
<figure><img src="/_images/courses/level-one/chapter-one/hacker-news-json.png" alt="Results in JSON view for the Hacker News node" style="width:100%"><figcaption align = "center"><i>Results in JSON view for the Hacker News node</i></figcaption></figure>
|
||||
<figure><img src="/_images/courses/level-one/chapter-two/l1-c2-results-in-json-view-for-the-hacker-news-node.png" alt="Results in JSON view for the Hacker News node" style="width:100%"><figcaption align = "center"><i>Results in JSON view for the Hacker News node</i></figcaption></figure>
|
||||
|
||||
The node window displays more information about the node execution:
|
||||
|
||||
@ -118,6 +118,6 @@ This field displays the number of items (records) that are returned by the node
|
||||
|
||||
## Summary
|
||||
|
||||
Congratulations, you just built your first workflow! In this lesson, you learned how to use Regular nodes, configure their parameters and settings, and save and execute your workflow.
|
||||
Congratulations, you just built your first workflow! In this lesson, you learned how to use actions in app nodes, configure their parameters and settings, and save and execute your workflow.
|
||||
|
||||
In the next lesson you will be introduced to your client, Nathan, who needs to automate his sales reporting work. You will build a more complex workflow for his use case, helping him become more productive at work.
|
||||
|
||||
Loading…
Reference in New Issue
Block a user