Inbox AI
  • Introduction
  • Quick Start
  • Hotkeys / Triggers
  • AI providers
  • Voice Commands
  • Screenshots
  • Watch Directories
  • Email Processing
  • Handle Incoming Calls
  • Actions
    • Custom Actions
      • Ask AI
      • Make API Request
      • Terminal Command
      • Multiple Choice
      • Group
    • Built-in Actions
      • Mail Actions
        • Mark as Read
        • Mark as Unread
        • Set Flag
        • Set Background Color
        • Move to Junk
        • Move to Archive
        • Move to Trash
      • Flow Control
        • Return Result to Previous AI
      • System Actions
        • Copy to Clipboard
        • Get Selected Text
        • Take Screenshot
        • Paste at Cursor
        • Speak Text
        • Send Notification
        • Add Apple Reminder
      • Do Nothing
    • Folder
    • Next Action Field
    • Action Variables
    • Export
  • Templating
  • Transcription
  • Logging
  • Limits
  • Troubleshooting
  • Advanced Settings
  • Integrations
    • AppleScript
    • Tana
    • Apple Notes
    • Reflect
    • Apple Shortcuts
    • Raycast
    • X-Callback-URL
Powered by GitBook
On this page
  1. Actions
  2. Built-in Actions
  3. Flow Control

Return Result to Previous AI

This powerful actions works together with the Ask AI action when it allows multiple turns (else it is ignored). It sends the output of the action back to the previous AI action that triggered it.

Together with multiple turn support, this allows for powerful AI agent chains.

Example for this:

  • A voice command "When is my next appointment?" uses an Ask AI action to process the audio command to trigger a Make API Request action to get calendar info, which then has its Next Action Field set to this Return Result to Previous AI action. It returns the result of the API call back into the AI, which can then trigger a Send Notification action to tell you the result.

PreviousFlow ControlNextSystem Actions

Last updated 7 months ago