This workflow follows the HTTP Request → Itemlists recipe pattern — see all workflows that pair these two integrations.
The workflow JSON
Copy or download the full n8n JSON below. Paste it into a new n8n workflow, add your credentials, activate. Full import guide →
{
"nodes": [
{
"parameters": {
"values": {
"string": [],
"number": [],
"boolean": [],
"json": "[{\"nome\":\"Ana\",\"nota_media\":6.5,\"frequencia\":70,\"reprovacoes\":2,\"atrasos_entrega\":5,\"engajamento\":\"baixo\"},{\"nome\":\"Carlos\",\"nota_media\":8.5,\"frequencia\":90,\"reprovacoes\":0,\"atrasos_entrega\":0,\"engajamento\":\"alto\"},{\"nome\":\"Daniela\",\"nota_media\":5.9,\"frequencia\":65,\"reprovacoes\":3,\"atrasos_entrega\":8,\"engajamento\":\"m\u00e9dio\"}]"
},
"options": {}
},
"id": "1",
"name": "Set - Dados dos alunos",
"type": "n8n-nodes-base.set",
"typeVersion": 1,
"position": [
250,
300
]
},
{
"parameters": {
"fieldToSplitOut": "data"
},
"id": "2",
"name": "Item Lists - Dividir alunos",
"type": "n8n-nodes-base.itemLists",
"typeVersion": 1,
"position": [
500,
300
]
},
{
"parameters": {
"authentication": "none",
"url": "https://api.openai.com/v1/chat/completions",
"method": "POST",
"responseFormat": "json",
"jsonParameters": true,
"options": {},
"bodyParametersJson": "{\"model\": \"gpt-4\", \"messages\": [{\"role\": \"user\", \"content\": \"Voc\\u00ea \\u00e9 um orientador educacional. Um aluno tem nota m\\u00e9dia de {{ $json[\\\"nota_media\\\"] }}, frequ\\u00eancia de {{ $json[\\\"frequencia\\\"] }}%, {{ $json[\\\"reprovacoes\\\"] }} reprova\\u00e7\\u00f5es, {{ $json[\\\"atrasos_entrega\\\"] }} atrasos na entrega de atividades e engajamento {{ $json[\\\"engajamento\\\"] }}. Com base nesses dados, diga a chance dele evadir do curso (em porcentagem) e explique o porqu\\u00ea.\"}]}",
"headerParametersJson": "{\"Authorization\": \"Bearer SUA_API_KEY\", \"Content-Type\": \"application/json\"}"
},
"id": "3",
"name": "HTTP Request - OpenAI",
"type": "n8n-nodes-base.httpRequest",
"typeVersion": 1,
"position": [
750,
300
]
},
{
"parameters": {
"values": {
"string": [
{
"name": "aluno",
"value": "{{ $node[\"Item Lists - Dividir alunos\"].json[\"nome\"] }}"
},
{
"name": "resposta",
"value": "{{ $json[\"choices\"][0][\"message\"][\"content\"] }}"
}
]
},
"options": {}
},
"id": "4",
"name": "Set - Extrair Resposta",
"type": "n8n-nodes-base.set",
"typeVersion": 1,
"position": [
1000,
300
]
}
],
"connections": {
"Set - Dados dos alunos": {
"main": [
[
"Item Lists - Dividir alunos",
0
]
]
},
"Item Lists - Dividir alunos": {
"main": [
[
"HTTP Request - OpenAI",
0
]
]
},
"HTTP Request - OpenAI": {
"main": [
[
"Set - Extrair Resposta",
0
]
]
}
},
"active": false,
"settings": {}
}
For the full experience including quality scoring and batch install features for each workflow upgrade to Pro
About this workflow
Fluxo Ia Evasao Import. Uses itemLists, httpRequest. Manual trigger; 4 nodes.
Source: https://github.com/felipeleal27/KeepLearning/blob/ae3c567319478c96311de2d7896996664975c63c/fluxo_ia_evasao_import.json — original creator credit. Request a take-down →
Related workflows
Workflows that share integrations, category, or trigger type with this one. All free to copy and import.
FTS. Uses httpRequest, itemLists, functionItem, start. Manual trigger; 16 nodes.
CBPF. Uses start, httpRequest, itemLists. Manual trigger; 13 nodes.
Gist:Ed Parsadanyan. Uses start, httpRequest, htmlExtract, itemLists. Manual trigger; 7 nodes.
PDF to Markdown Converter (LlamaCloud) Description: How it works This workflow extracts structured content from complex PDFs using LlamaCloud's advanced parsing engine: