Notice: This page requires JavaScript to function properly.
Please enable JavaScript in your browser settings or update your browser.
Oppiskele Importing a Template and Data | Perusteet ja Käyttöönotto
Tekoälyautomaatio Työnkulut n8n:llä

bookImporting a Template and Data

Note
Definition

An n8n template is a prebuilt workflow that already includes nodes, logic, and structure for a specific use case. Instead of starting from scratch, you can import a template, connect your own data sources, and immediately start testing.

Up to now, everything was theory. Here begins the first real build. The workflow does three main things: it imports a prebuilt n8n template, connects it to the Rainforest API to pull live Amazon data, and attaches an AI Agent that turns this data into a short write-up.

This is the standard pattern for efficient automation work: don't build from scratch — import, wire, run. To follow along, you'll need three things:

Rainforest API is a service between n8n and Amazon that returns product and seller data in a clean JSON format, so no scraping or parsing is required.

Importing the template

In n8n, click Create workflow blank canvas. Open the menu and choose Import from file, then select the provided template.

Once imported, you'll see a prebuilt flow containing:

  • A Trigger (runs when a form is submitted);
  • An IF node (checks whether the value is a seller URL);
  • HTTP Request nodes (call Rainforest API);
  • A Split Out node (turns a list of products into single items).

Adding the Rainforest API key

Every HTTP Request node calling Rainforest must be authenticated. Copy your API key from the Rainforest dashboard and paste it into each HTTP node, usually as a header or query parameter. Once added, your workflow can make real API calls.

Running It With Real Input

Click Execute workflow. A form appears because the trigger is set to on form submit. Find a seller ID in an Amazon storefront URL (e.g. seller=A3NIEJTKAE5W6O), paste it into the form, and submit.

The IF node checks if the input is a valid seller URL. If true, the workflow calls Rainforest, receives product data, and passes it to Split Out, which separates the large array into multiple product items.

question mark

What is the main purpose of using the Split Out node in this workflow?

Select the correct answer

Oliko kaikki selvää?

Miten voimme parantaa sitä?

Kiitos palautteestasi!

Osio 1. Luku 4

Kysy tekoälyä

expand

Kysy tekoälyä

ChatGPT

Kysy mitä tahansa tai kokeile jotakin ehdotetuista kysymyksistä aloittaaksesi keskustelumme

Suggested prompts:

How do I get my Rainforest API key?

What should I do if the workflow import fails in n8n?

Can you explain how the Split Out node works in this workflow?

Awesome!

Completion rate improved to 4.17

bookImporting a Template and Data

Pyyhkäise näyttääksesi valikon

Note
Definition

An n8n template is a prebuilt workflow that already includes nodes, logic, and structure for a specific use case. Instead of starting from scratch, you can import a template, connect your own data sources, and immediately start testing.

Up to now, everything was theory. Here begins the first real build. The workflow does three main things: it imports a prebuilt n8n template, connects it to the Rainforest API to pull live Amazon data, and attaches an AI Agent that turns this data into a short write-up.

This is the standard pattern for efficient automation work: don't build from scratch — import, wire, run. To follow along, you'll need three things:

Rainforest API is a service between n8n and Amazon that returns product and seller data in a clean JSON format, so no scraping or parsing is required.

Importing the template

In n8n, click Create workflow blank canvas. Open the menu and choose Import from file, then select the provided template.

Once imported, you'll see a prebuilt flow containing:

  • A Trigger (runs when a form is submitted);
  • An IF node (checks whether the value is a seller URL);
  • HTTP Request nodes (call Rainforest API);
  • A Split Out node (turns a list of products into single items).

Adding the Rainforest API key

Every HTTP Request node calling Rainforest must be authenticated. Copy your API key from the Rainforest dashboard and paste it into each HTTP node, usually as a header or query parameter. Once added, your workflow can make real API calls.

Running It With Real Input

Click Execute workflow. A form appears because the trigger is set to on form submit. Find a seller ID in an Amazon storefront URL (e.g. seller=A3NIEJTKAE5W6O), paste it into the form, and submit.

The IF node checks if the input is a valid seller URL. If true, the workflow calls Rainforest, receives product data, and passes it to Split Out, which separates the large array into multiple product items.

question mark

What is the main purpose of using the Split Out node in this workflow?

Select the correct answer

Oliko kaikki selvää?

Miten voimme parantaa sitä?

Kiitos palautteestasi!

Osio 1. Luku 4
some-alt