Back to docs

Prompt Chains


Prompt Chains turns complex, multi-turn AI interactions into fully automated sequential pipelines. Instead of babysitting your screen and manually copying and pasting prompt after prompt, you can define multi-step sequences with dynamic {{Variables}} and execute the entire workflow hands-free across ChatGPT, Claude, and Google Gemini.

Multi-Platform Setup: To use Prompt Chains on ChatGPT, Gemini, or Claude, you must enable it from the Settings modal. Open Settings, navigate to the Platforms tab to activate your target AI platform (granting browser host permissions when prompted), and ensure the Prompt Chains and Message Queue feature toggles are switched On.

Step 1: Open Settings & Enable Platforms

Click the NAToolkits extension icon in your browser toolbar or the Settings gear icon in your AI sidebar to open the configuration panel.

Ensure platform support and required execution engines are active:

  1. Click the Platforms tab in the Settings sidebar.
  2. Switch the toggle to On for your target platform—ChatGPT, Google Gemini, or Claude. If prompted by your browser, click Allow to grant host access permissions.
  3. Switch to the Prompt Chains tab and make sure the feature status is turned On.
  4. Because Prompt Chains relies on the batch execution runner, verify that the Message Queue module is also active.
NAToolkits Settings modal showing the Platforms tab and Prompt Chains feature toggle enabled
Open Settings, activate your AI platform under the Platforms tab, and turn On the Prompt Chains module.

Step 2: Access the Chains Tab in Prompt Library

Open the Prompt Library by clicking the bookmark or library icon in your sidebar, or by clicking the floating NAToolKit Speed-Dial Hub in the bottom-right corner.

In the Prompt Library header navigation, click the dedicated Chains tab (indicated with the ⛓ icon and a step badge). Here you will see all your custom pipelines, a search bar, and your active chain tier quota (e.g., Free: 1/2 or Pro: Unlimited).

Prompt Library modal showcasing the top navigation tabs with the Chains tab selected and workflow cards displayed
Access the Chains tab inside the Prompt Library to view, search, and manage your sequential workflows.

Step 3: Build a Custom Pipeline in the Chain Builder

Click the + New Chain button in the top-right corner of the Chains view to launch the interactive Chain Builder modal:

When you are done drafting your pipeline, click Save Chain.

Interactive Chain Builder modal showing title, description, step pipeline cards, and dynamic variable chips
The Chain Builder lets you arrange multi-step pipelines with drag reordering and dynamic variable placeholders.

Step 4: Fill in Dynamic Variables

When you are ready to use your workflow, find its card in the Chains tab and click ▶ Run Chain.

If your chain contains dynamic variables (such as {{Topic}} or {{Tone}}), NAToolkits automatically intercepts execution and opens the clean Run Workflow dialog:

Dynamic Variables input modal with auto-detected input fields for Topic, Language, and Tone
Fill in values in the Variable Runner modal to instantly customize all steps across your entire chain.

Step 5: Run Automated Sequential Execution

Once confirmed, the Prompt Library and Variable modals close, and NAToolkits hands off the resolved prompt steps directly to the Message Queue auto-drain runner:

  1. Step 1 Submits Immediately: The initial prompt is automatically injected into the chat composer and sent to the AI model.
  2. Stream Yield Protection: NAToolkits observes the model's DOM state, streaming tokens, and stop buttons. The runner waits safely while the model generates its response.
  3. Auto-Advance Next Turn: As soon as ChatGPT, Claude, or Gemini finishes typing Step 1, Step 2 is injected and submitted automatically without any manual intervention.
  4. Context Compounding: Because each prompt executes within the same conversation thread, subsequent steps naturally build upon the AI's earlier outputs.
  5. Completion Notification: When the final step concludes, an alert toast confirms: 🎉 All queued prompts completed!
Message Queue drawer running the chain steps sequentially with live progress indicator and running counter
The chain steps run sequentially through the Message Queue, automatically advancing when each AI turn completes.
Message Queue drawer running the chain steps sequentially with live progress indicator and running counter
The chain steps run sequentially through the Message Queue, automatically advancing when each AI turn completes.

Step 6: Manage, Search & Edit Existing Chains

Your saved chains are easily manageable right from the Chains tab:

Pro-Tips & Keyboard Shortcuts

Frequently Asked Questions

Q: Does Prompt Chains work across ChatGPT, Claude, and Google Gemini?
A: Yes! Prompt Chains operates universally on all three AI platforms. Just make sure the target platform is turned on in your NAToolkits Settings under the Platforms tab.

Q: How does NAToolkits know when to trigger the next prompt step?
A: NAToolkits monitors the active DOM tree using intelligent stream-yielding observers. It tracks streaming tokens, stop buttons, and model thinking spinners across ChatGPT, Claude, and Gemini to ensure the next prompt is never submitted while the model is still generating.

Q: Can I use different variables in different steps?
A: Yes. You can include as many distinct variables as you like (e.g., {{Topic}} in Step 1, {{Audience}} in Step 2, and {{Tone}} in Step 3). The Run modal automatically parses and presents fields for all unique variables found.

Q: What happens if I want to pause execution mid-chain?
A: Simply click the Pause (⏸) button on the floating status pill or inside the Queue Drawer. Execution halts safely after the current step, and you can resume anytime by clicking ▶ Run.

Q: Are my prompt chains uploaded to any external server?
A: No. All chain templates, variables, and step configurations are stored locally in your browser sandbox using chrome.storage.local. Your proprietary workflows never leave your device.

Q: What are the limits for Free versus Pro plans?
A: Free users can create up to 2 custom prompt chains. Upgrading to Pro gives you unlimited prompt chains and unlimited sequential steps per chain.