Skip to content

feat(triggers): add sequence actions and guard against trigger loops - #1641

Merged
viethung0o0 merged 1 commit into
mainfrom
feat/trigger-sequence-actions
Nov 3, 2026
Merged

viethung0o0 merged 1 commit into
mainfrom
feat/trigger-sequence-actions

Conversation

@viethung0o0

Copy link
Copy Markdown
Contributor

Summary

  • Triggers can now add a contact to a sequence or remove them from one, in the builder and through the public API.
  • These actions do not fire sequence triggers or webhooks, so two triggers cannot keep adding each other's sequences.
  • A trigger now skips a contact after 20 runs within a minute, which stops runaway loops. If Redis is unavailable, triggers keep running without the limit.
  • Subscribing one contact to a sequence from two flows at once no longer fails or sends the subscribed event twice.
  • For large workspaces, point REDIS_CACHE_URL at a dedicated Redis with allkeys-lru so the counters never compete with the queues. Details are in docs/trigger-actions.md.

@github-actions github-actions Bot added the feature New feature or request label Nov 3, 2026
@viethung0o0
viethung0o0 force-pushed the feat/trigger-sequence-actions branch from 0bc5b76 to ce4b5dc Compare November 3, 2026 14:31
@viethung0o0
viethung0o0 force-pushed the feat/trigger-sequence-actions branch from ce4b5dc to c86a8e5 Compare November 3, 2026 14:57
@viethung0o0
viethung0o0 marked this pull request as ready for review November 3, 2026 15:02
@viethung0o0
viethung0o0 merged commit 3889005 into main Nov 3, 2026
14 checks passed
hello-jackytruong referenced this pull request in hello-jackytruong/ChatWorkAI Nov 22, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

feature New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants