Thanks for giving the workaround, i have done by using the exactly same as you mentioned, but still the streaming is not curl -N ``https://mohamedasif.app.n8n.cloud/webhook-test/b7df4fe6-30eb-454c-b834-b37c6858b2a4/as/:name
[{“output”:“A tree, in its most fundamental essence, is a perennial plant with an elongated stem, or trunk, that supports branches and leaves. Unlike smaller shrubs, a tree typically has a single, self-supporting woody stem that branches at some distance from the ground, often reaching significant heights and living for many years, sometimes even centuries or millennia. This magnificent organism is a marvel of natural engineering, comprising several vital parts that work in intricate harmony: deep roots anchor it firmly to the ground, absorbing water and nutrients from the soil through a hidden, extensive network crucial for stability and sustenance; the robust trunk, often covered in protective bark, serves as the primary conduit, transporting water and sugars between the roots and the canopy through complex vascular tissues; from the trunk extend numerous branches, which in turn support countless leaves. It is within these leaves that the miracle of photosynthesis occurs, a process where chlorophyll captures sunlight energy to convert carbon dioxide and water into oxygen, which we breathe, and glucose, which fuels the tree’s growth. Trees also reproduce, often through flowers or cones that eventually lead to seeds, ensuring the continuation of their species.\n\nBeyond their individual biological processes, trees are absolute pillars of the planet’s ecosystems and indispensable for all life. They are the Earth’s lungs, tirelessly scrubbing carbon dioxide from the atmosphere and releasing life-giving oxygen, playing an indispensable role in regulating global climate and air quality. Vast forests, which are communities of trees, stabilize soil, preventing erosion and desertification, while also regulating water cycles by mitigating floods and droughts. They create vital habitats for an immense diversity of wildlife – from microscopic organisms to insects, birds, and large mammals – providing shelter, food, and breeding grounds, thus serving as crucial biodiversity hotspots.\n\nFor humanity, trees are not merely ecological machines; they are integral to our existence, economy, and culture. They provide a vast array of essential resources: timber for construction and furniture, fuel for warmth and cooking, paper for communication, and a wide variety of foods like fruits, nuts, and sap. Beyond the material, trees offer immense aesthetic, recreational, and spiritual value. They shade our homes and streets, cool our cities, purify urban air, and provide serene places for recreation, contemplation, and spiritual solace. They inspire art, poetry, and mythology across countless cultures, symbolizing wisdom, strength, life, and enduring connection to the natural world. Many ancient trees stand as living monuments, connecting us to the past and offering a tangible link to history. In essence, a tree is far more than just a woody plant; it is a complex, living entity that sustains life, shapes landscapes, purifies our air, enriches our souls, and stands as a testament to nature’s enduring power and a vital, invaluable gift to every living creature on Earth.”}]
this is the json for your reference,
{“nodes”: [{“parameters”: {“promptType”: “define”,“text”: “=Explain about the tree. And it will be long paragrahp”,“options”: {“maxIterations”: 10,“enableStreaming”: true}},“type”: “/n8n-nodes-langchain.agent”,“typeVersion”: 3.1,“position”: [-2208,-352],“id”: “2eb5538b-6f56-43d4-bffc-8c2d18e2f991”,“name”: “AI Agent”},{“parameters”: {“options”: {}},“type”: “/n8n-nodes-langchain.lmChatGoogleGemini”,“typeVersion”: 1,“position”: [-2128,-192],“id”: “691dabb3-5d1f-4702-a5cd-ae22d9dd13e6”,“name”: “Google Gemini Chat Model”,“retryOnFail”: true,“credentials”: {“googlePalmApi”: {“id”: “rdkkEapG58BXjlLI”,“name”: “Google Gemini(PaLM) Api account 3”}}},{“parameters”: {“respondWith”: “allIncomingItems”,“options”: {“enableStreaming”: true}},“type”: “n8n-nodes-base.respondToWebhook”,“typeVersion”: 1.5,“position”: [-1600,-416],“id”: “e3796c70-6ccc-4dba-a63e-eee25ff32fac”,“name”: “Respond to Webhook3”},{“parameters”: {“multipleMethods”: true,“httpMethod”: [“GET”],“path”: “as/:name”,“responseMode”: “responseNode”,“options”: {“allowedOrigins”: “http://localhost:300”,“ignoreBots”: false,“rawBody”: false}},“type”: “n8n-nodes-base.webhook”,“typeVersion”: 2.1,“position”: [-2784,-368],“id”: “a0452245-96cf-4575-a16c-c7350a704d71”,“name”: “Webhook3”,“webhookId”: “b7df4fe6-30eb-454c-b834-b37c6858b2a4”,“alwaysOutputData”: false,“executeOnce”: false,“retryOnFail”: false,“notesInFlow”: false}],“connections”: {“AI Agent”: {“main”: [[{“node”: “Respond to Webhook3”,“type”: “main”,“index”: 0}]]},“Google Gemini Chat Model”: {“ai_languageModel”: [[{“node”: “AI Agent”,“type”: “ai_languageModel”,“index”: 0}]]},“Respond to Webhook3”: {“main”: []},“Webhook3”: {“main”: [[{“node”: “AI Agent”,“type”: “main”,“index”: 0}]]}},“pinData”: {},“meta”: {“templateCredsSetupCompleted”: true,“instanceId”: “aa8a89318eb6eda19082b6c86492f38c2855c728249c3ea83471e115a8fe495a”}}