Trigger: Team Poll Closed
Fire automated actions the moment a poll created inside a Team Space closes.
The Team Poll Closed trigger fires a workflow the moment a poll created inside a Team Space closes, whether by reaching its deadline or being closed manually.
When to use it
Use it to automate what happens after an internal vote: announce the result without manual work, create a task with the winning option, or fire an outbound integration (e.g. notify a catering vendor based on a lunch poll's result).
Configuration
In the Trigger node pick "Team Poll Closed" and configure:
- Space: limit the trigger to one Space (empty = any).
Available variables
$trigger.poll_id$trigger.message_id$trigger.space_id$trigger.question$trigger.winning_option(null on a tie or no votes)$trigger.winning_votes$trigger.total_votes$trigger.created_by
Example
Workflow "Lunch poll result": Trigger = Team Poll Closed, Space filter = "Cafeteria". Action 1: post a message in the Space with Winner: {{$trigger.winning_option}} ({{$trigger.winning_votes}} of {{$trigger.total_votes}} votes). Action 2: send an outbound webhook to the ordering system with the winning option.
Tips
- Add a condition checking whether
$trigger.winning_optionis null before announcing a winner, to handle a tie with no votes gracefully. - Pair it with "Team Reminder Due" to nudge people to vote before the poll closes.
Troubleshooting
If the workflow doesn't run, confirm the poll actually closed (deadline reached or manually closed by its creator) — the event doesn't fire while it's still open.
Related articles
-
Build your first workflow
Omnifox workflows automate your operation: a trigger starts the automation and action nodes do the work. Build a welcome message in minutes.
-
Workflow triggers catalog
Learn which events can start a workflow automatically in Omnifox.
-
Action nodes available in workflows
Discover the actions a workflow can run automatically.
-
Conditions and branching (if/then) in a workflow
Make your flows take decisions and follow different paths based on each contact data.
-
Ready-to-use workflow templates
Start your automations in minutes from prebuilt flows you can customize.