Skip to main content
Beta
This action is part of Loops, which are in beta and require the Developer Toolkit. To join the beta, email [email protected].

Close Loop

The Close Loop action closes a loop. A closed loop has no pending wake, does not wake, and rejects moves, wakes, events, and data updates until you reopen it. Its data and history stay available.

When to Use This Action​

Use this action when:

  • A loop reached its end, such as a paid bill or a customer who subscribed
  • You want to give up on a loop that went cold

If the loop only needs to wait, leave it in a stage, optionally with a wake schedule.

Configuration​

FieldDescription
LoopThe ID of the loop. Optional in a loop stage or event: leave it empty to use the loop this run belongs to. Required everywhere else, including in a macro or AI action called from a loop run, because those do not see the calling loop. Supports text expressions.

Returned Variables​

This action does not return any variables.

Notes​

  • Closing does not end the current run. The actions after this one still run. Add Loop Note, Reopen Loop, Save File to Loop, and Load Loop Files still work on a closed loop. Find or Open Loop can find it and returns loop.open as false. Close Loop changes nothing, and Send Loop Event follows its If the loop is closed option. Other loop actions fail with a message to reopen the loop first.
  • Closing a loop that is already closed succeeds and changes nothing. The run history says the loop was already closed.
  • Closing cancels moves, wakes, and events that were waiting for the loop, as well as any run that has not started. Each dropped event adds a note to the loop's timeline. A run that is already going finishes.
  • The loop must belong to your account. An unknown loop ID fails the action.