Trouver des recettes via une interface de formulaire interactive avec API Ninjas
Ceci est unPersonal Productivity, Multimodal AIworkflow d'automatisation du domainecontenant 4 nœuds.Utilise principalement des nœuds comme Form, FormTrigger, HttpRequest. Trouver des recettes via l'interface de formulaire interactive d'API Ninjas
- •Peut nécessiter les informations d'identification d'authentification de l'API cible
Nœuds utilisés (4)
{
"meta": {
"instanceId": "c8c9ba5d3eb26ae47a06d24ff164a01c0d73ed4753a74903c2bb609d434a0f6b"
},
"nodes": [
{
"id": "4a3b7b39-71a7-4a59-8c91-0ebf9fef29b2",
"name": "Description du workflow",
"type": "n8n-nodes-base.stickyNote",
"position": [
-250,
-250
],
"parameters": {
"color": 5,
"width": 272,
"height": 912,
"content": "## Workflow overview\n\nSimple recipe finder app. User enters an ingredient or dish into a form. Workflow calls API Ninjas Recipe API and shows the recipe result back on the form page.\n\n### Setup\n- **Form Trigger - Recipe Finder**: the entry form with a `query` field.\n- **Fetch Recipe from API Ninjas**: API call node using header auth.\n- **Show Recipe Result**: returns title, ingredients, instructions in formatted text.\n\n### Flow\n1. Form trigger waits for input.\n2. Passes query to API Ninjas.\n3. Fetches recipe.\n4. Shows formatted recipe back to user.\n\n### Notes\nQuick demo of how to build a recipe finder workflow in n8n. Expand easily with more features like multiple recipes, emails, or saving results."
},
"typeVersion": 1
},
{
"id": "891b66aa-1620-4867-b27c-b978588a5462",
"name": "Récupérer la recette depuis API Ninjas",
"type": "n8n-nodes-base.httpRequest",
"position": [
208,
0
],
"parameters": {
"url": "https://api.api-ninjas.com/v1/recipe",
"options": {},
"sendQuery": true,
"authentication": "genericCredentialType",
"genericAuthType": "httpHeaderAuth",
"queryParameters": {
"parameters": [
{
"name": "query",
"value": "={{ $json.query }}"
}
]
}
},
"credentials": {
"httpHeaderAuth": {
"id": "IU0D73p4jW1pvQE8",
"name": "API Ninjas Credential"
}
},
"typeVersion": 4.2
},
{
"id": "51dbc266-c345-4334-9349-f66a45ff5350",
"name": "Déclencheur de formulaire - Recherche de recettes",
"type": "n8n-nodes-base.formTrigger",
"position": [
0,
0
],
"webhookId": "7361e34a-fc0e-4125-8b89-6c5774c86b0b",
"parameters": {
"options": {},
"formTitle": "Find a recipe",
"formFields": {
"values": [
{
"fieldLabel": "query"
}
]
},
"responseMode": "lastNode"
},
"typeVersion": 2.2
},
{
"id": "2bbcb8e8-b63f-45a8-b141-07300ef724ba",
"name": "Afficher le résultat de la recette",
"type": "n8n-nodes-base.form",
"position": [
448,
0
],
"webhookId": "51c635a1-9803-4fc0-a3b2-a7058cbd7356",
"parameters": {
"options": {},
"operation": "completion",
"completionTitle": "={{ $json.title }}",
"completionMessage": "=<h3>Ingredients</h3>\n{{ $json.ingredients }}\n\n\n<h3>Instructions</h3>\n{{ $json.instructions }}"
},
"typeVersion": 1
}
],
"pinData": {},
"connections": {
"891b66aa-1620-4867-b27c-b978588a5462": {
"main": [
[
{
"node": "2bbcb8e8-b63f-45a8-b141-07300ef724ba",
"type": "main",
"index": 0
}
]
]
},
"51dbc266-c345-4334-9349-f66a45ff5350": {
"main": [
[
{
"node": "891b66aa-1620-4867-b27c-b978588a5462",
"type": "main",
"index": 0
}
]
]
}
}
}Comment utiliser ce workflow ?
Copiez le code de configuration JSON ci-dessus, créez un nouveau workflow dans votre instance n8n et sélectionnez "Importer depuis le JSON", collez la configuration et modifiez les paramètres d'authentification selon vos besoins.
Dans quelles scénarios ce workflow est-il adapté ?
Débutant - Productivité personnelle, IA Multimodale
Est-ce payant ?
Ce workflow est entièrement gratuit et peut être utilisé directement. Veuillez noter que les services tiers utilisés dans le workflow (comme l'API OpenAI) peuvent nécessiter un paiement de votre part.
Workflows recommandés
Milan Vasarhelyi - SmoothWork
@vasarmilanWe help you eliminate the busywork by building compact business tools tailored to your processes. 📞: https://smoothwork.ai/book-a-call ▶️: https://www.youtube.com/@vasarmilan
Partager ce workflow