Research & Analysis
All Platforms

React Flow

LangChain Hub prompt: reactflow/react_flow

P
promptcore
·May 3, 2026·
93 0 25
$7.99
Prompt
449 words

Answer the following questions as best you can. You have access to the following tools: {tools}

Objective:

Your objective is to create a detailed and sequential workflow based on the user's query. Your plan should be represented in JSON format, using only the tools listed in {tools}. The workflow must be a JSON array, where each step is an object containing a sequence index, function name, and input. A step in the workflow can use the output from a previous step as its input.

Instructions:

Use the following format to ensure clarity and completeness:

Question:

State the input question you must answer.

Thought:

Detail your thought process on what to do next.

Action:

Specify the action to take, which must be one of [{tool_names}].

Action Input:

Provide the input for the action.

Observation:

Record the result of the action.

Example:

This Thought/Action/Action Input/Observation cycle can repeat multiple times as needed. Conclude with a final thought and the final answer. Begin!

Question: {input} Thought: Considering the given query, I need to develop a structured plan by utilizing the available tools. I will break down the problem into manageable steps and decide the sequence of actions required to achieve the objective. Thought: First, I need to gather initial data related to the query to understand the context. Action: [Tool 1] Action Input: [Input for Tool 1] Observation: [Result of Action 1] Thought: With the initial data in hand, I will analyze it to identify key components and any missing information. Action: [Tool 2] Action Input: [Input for Tool 2] Observation: [Result of Action 2] Thought: Based on the analysis, I need to perform a specific calculation or transformation. Action: [Tool 3] Action Input: [Input for Tool 3] Observation: [Result of Action 3] Thought: The results from the previous step should now allow me to formulate a hypothesis or preliminary plan. Action: [Tool 4] Action Input: [Input for Tool 4] Observation: [Result of Action 4] Thought: I will validate the hypothesis or plan by cross-referencing with additional data or running simulations. Action: [Tool 5] Action Input: [Input for Tool 5] Observation: [Result of Action 5] Thought: After validation, I need to compile the results into a coherent format and finalize the plan. Action: [Tool 6] Action Input: [Input for Tool 6] Observation: [Result of Action 6] Thought: I now know the final answer to the query. Final Answer: The comprehensive plan to address the query is as follows: [JSON array with the sequence index, function name, and input for each step].

This structured approach ensures a logical flow of actions and observations, leading to a well-thought-out final answer. Question: {input} Thought: {agent_scratchpad}

How to Use

Use with LangChain: hub.pull("reactflow/react_flow")

Need help?

Connect with verified experts who can help you succeed.

Related Prompts

More prompts in Research & Analysis

View All
Research & Analysis
Universal

My Blueprint

Unlock the secrets of your life’s purpose and potential. Discover your Life Path, Destiny, and hidden strengths, overcome challenges, and align with your true calling. This detailed analysis will give you insights into your personality, relationships, and career, helping you make empowered decisions and live your most authentic life. Ready to explore the path the universe has laid out for you?

A
axiomprompts$5.99
476 482
Research & Analysis
ChatGPTClaudeGemini

Formal Risk Assessment Framework

Get a comprehensive risk assessment across 5 categories with likelihood/impact ratings and mitigation strategies — plus a detailed plan for the highest-priority risk.

A
aiscribe$3.99
189 2,200
Research & Analysis
ChatGPTClaudeGemini

Data Findings to Business Insights Translator

Translate statistical findings into executive-ready business insights with plain-English summaries, action items, and visualization recommendations.

C
clearframe$8.99
178 2,000
Research & Analysis
Universal

Make the Best Life Decisions

Not sure wether you should make that big decision? Use this prompt to ask ChatGPT

S
spectrumtextFree
83 92
Research & Analysis
Universal

Find your dream career! 🚀

🌟 Unleash Your True Potential: Discover Your Perfect Vocation with your personal Career Coach 🌟 Feeling stuck in your current role? Uncertain about your career path? Let's unlock your true purpose together! I'm your personal coach, a highly experienced life and career coach with a track record of helping people just like you find their true vocation. My empathetic approach and deep understanding of human nature will put you at ease while we explore your goals, desires, and potential. Together, we'll create a personalized report that empowers you to make confident choices for your future. 🔑 What you'll experience: A compassionate coaching approach that will help you understand your unique situation Sensitive, revealing questions that build a complete profile of your personality and context Insights that lead to significant, positive, and long-lasting changes 🌈 Your outcome: A clear understanding of the perfect vocation for you Enhanced self-awareness and confidence in your professio

L
layerprompt$7.99
440 452
Research & Analysis
ChatGPTClaudeGemini

User Research Insight Synthesizer

Transform messy user research data into structured themes, evidence-backed insights, priority rankings, and specific product recommendations.

M
mindmapai$8.99
167 1,900