# n8n

Step 1

Add a scheduled Trigger, to query the LeadBoxer API for fresh results. We recommend to set this to every 10 minutes or so, depending on your traffic volumes.

Step 2

Add the HTTP Request node

Step 3

in the HTTP node settings:

* Methode = GET
* URL:  <mark style="color:blue;"><https://data.leadboxer.com/api/views/c\\_view\\_leads/?search=\\*\\&dataType=json\\&variant=zapier\\&noShortenEmail\\&sortBy=lastEvent|desc\\&period=1d\\&limit=50\\&site=####> YOUR DATASET ID ###</mark>
*

```
<div align="left"><figure><img src="/files/FLCqpf8N8HJfFEtOKDi1" alt=""><figcaption></figcaption></figure></div>
```

* Set authentication

First you need to get your API key inside the LeadBoxer App from integrations > data\
<https://app.leadboxer.com/integrations-connectors/data/api-key>

Give the key a name, paste the LeadBoxer API key, set the placement to 'in query string' and the parameter name to **apiKey**

<figure><img src="/files/OYHZT63B0BeP37AtJ31R" alt=""><figcaption></figcaption></figure>

step 4

You can now add other nodes to your canvas and access data from LeadBoxer, you can see the data in output

Here is an example using Slack, adding identified companies to a slack channel

<figure><img src="/files/qP9WpfvoofTWGBDM2aIo" alt=""><figcaption></figcaption></figure>

<figure><img src="/files/E1oaPbl7axhpLXuFKcjr" alt=""><figcaption></figcaption></figure>

Make sure to use the fields that start with organization\*


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://help.leadboxer.com/leadboxer/integrations/other/n8n.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
