Activity Pages for Conversational AI Assistants: Managing Tasks and Scheduled Jobs
This article explains how an activity page can make background and recurring operations in a conversational AI assistant visible, traceable, and controllable. It covers the separation between one-off tasks and recurring schedules, task state modeling, time semantics, retry and concurrency policies, text-input confirmation flows, permissions and notifications, and end-to-end testing of the data path.
1. From Real-Time Conversation to Task Management: What the Activity Page Solves
The core flow of a traditional conversational interface is simple: the user asks a question, and the system answers. This model works well for immediate queries, but it is poorly suited to operations that take longer to process, run later, or execute repeatedly. For example, a user may ask the assistant to organize a set of materials, which may require background processing. Or the user may ask for a daily news briefing, which requires a long-lived execution plan.
When these requests remain buried in chat history, users often cannot answer several key questions: Has the task been created? Is it still running? When will it run next? How can it be paused or cancelled? If the system fails, will it keep retrying?
The value of an activity page is therefore not just that it adds another navigation entry. It turns execution commitments scattered across conversations into task objects that can be viewed and controlled in one place.
The interface experiment described in the source material explored two directions. One was to present background operations and recurring tasks through two tabs: Tasks and Scheduled. The other was to explore a direct text-input entry point within the real-time conversation interface. It is important to be clear that being able to open a page in an experiment does not mean the related capability has been fully delivered. The fact that a list does not show created tasks does not automatically prove that those tasks do not exist. It may instead point to unfinished work in data integration, status synchronization, or feature rollout scope.
The following discussion abstracts these observations into general design questions. It does not treat an experimental interface as a product with complete capabilities.
2. Tasks and Schedules Should Be Layered, Not Merely Classified
2.1 A Task Describes One Concrete Execution
A task is an independently trackable execution process. It can start immediately or at a specified time. For example, “organize this material” corresponds to one background task, while “remind me to check the material tomorrow afternoon” corresponds to a delayed task.
Task management should focus on creation time, execution status, processing result, and failure reason. When users enter the Tasks tab, they mainly want to know “how far has this gone?” Therefore, running, waiting, and failed items that need attention should be more prominent than historical successful records.
2.2 A Schedule Describes a Continuing Execution Rule
A schedule is not a single execution. It is a set of rules, such as generating a briefing every day at a specified time. During its active period, a schedule can produce multiple execution instances, and each instance may succeed, fail, or be cancelled.
Tasks and schedules are therefore not two completely mutually exclusive sets. They are two viewpoints. The Scheduled page focuses on rules and future arrangements, while the Tasks page focuses on executions that actually occur. A one-off delayed operation may also pass through a scheduling system internally, but the interface can classify it as a one-off task according to the user’s mental model without exposing low-level implementation details.
2.3 The Scheduled Page and the Tasks Page Should Be Connected
A recurring schedule should show at least its execution frequency, time zone, next expected execution time, enabled status, and most recent execution result. Users should also be able to move from schedule details into historical execution records and return from a failed instance to the corresponding schedule for modification.
This connection prevents the information gap in which “the schedule looks normal, but every execution keeps failing.” Pausing a schedule usually means that no new execution instances will be generated. Whether already started tasks will be cancelled needs to be explained separately. Users should not have to guess the consequences of an action.
3. Reliable Task Management Requires an Explicit State Model
A task list is not a set of static cards. It needs stable state definitions behind it. A general execution flow can be described as:
Created → Waiting for scheduling → Running → Succeeded, Failed, or Cancelled
A real system may also include states such as waiting for authorization, waiting for the user to provide more information, and waiting for retry. However, every additional state should have clear entry and exit conditions.
3.1 Distinguish Between Request Received and Operation Completed
After a user clicks cancel, the system may only be able to record the cancellation request first. An external operation that is already running may not be able to stop immediately. The interface should therefore distinguish between “cancelling” and “cancelled” to avoid making an inaccurate promise too early.
Similarly, a background task being successfully received only means that the creation flow has completed. It does not mean that the task has executed successfully. Creation confirmation should provide a trackable record rather than using a vague “completed” label that hides the processing stage.
3.2 Failure States Need to Include Next Steps
“Execution failed” alone does not help users solve the problem. Where possible, the system should distinguish causes such as missing input, insufficient permissions, temporarily unavailable dependencies, and execution timeout, and provide corresponding suggestions.
For recoverable failures, the system can explain whether it will retry automatically. For failures that require user intervention, it should indicate what information needs to be supplied or what permission needs to be confirmed again. User-facing explanations should be concise, while detailed diagnostic information can be placed in an expandable area to balance readability and troubleshooting needs.
3.3 History Should Preserve Key Changes
After a user changes a schedule time, pauses a task, or reauthorizes access, the system should preserve the necessary change history. The focus should be on when the operation occurred, what changed, and how execution was affected, rather than indiscriminately storing all conversation text.
This helps both with locating “why did it not run as expected?” and with accountability in team scenarios.
4. Scheduled Execution Depends on Time Semantics and Reliability
4.1 Natural-Language Time Needs Confirmation
Expressions such as “every morning” and “remind me next week” are ambiguous. An assistant can parse the intent, but before creation it should translate the execution rule into a description the user can confirm, such as which time zone is used, the exact time of execution, and whether it runs only on weekdays.
“Every day at a fixed time” and “every twenty-four hours” are not the same rule. The former usually depends on local calendar time, while the latter emphasizes a fixed interval. Moving across time zones or daylight saving time changes may cause the two to behave differently, so they should not be exchanged arbitrarily internally.
4.2 Scheduling and Execution Should Be Moderately Decoupled
A general architecture can separate the scheduler, pending-execution queue, execution units, and state store. The scheduler determines which schedules are due, execution units handle specific work, and the state store saves results and lifecycle changes.
This division makes it easier to handle inconsistent execution speeds, short-term backlogs, and partial failures. Message queues, persistent storage, log services, and monitoring and alerting are common infrastructure capabilities, but whether to introduce them should depend on task scale and reliability requirements, not on stacking components for architectural complexity.
4.3 Retries Must Consider Side Effects
Repeatedly generating a summary and repeatedly sending a notification do not have the same consequences. If a task involves write, send, or modification operations, idempotency should be considered before retrying.
A stable deduplication identifier can be assigned to each execution instance, and processing results can be recorded at key points where side effects occur. However, local deduplication records may not solve all consistency problems in external operations. For example, if an external operation has succeeded but the confirmation response is lost, the system may still misjudge it as a failure. In this case, result queries, reconciliation, or compensation mechanisms are also needed. A single identifier alone is not enough to claim strict “exactly once” execution.
4.4 Backfill and Concurrency Policies Need to Be Explicitly Defined
After system recovery, should missed tasks all be backfilled, should only the most recent one run, or should expired instances be skipped? If the previous run has not finished, should the next run execute concurrently, queue, or be merged?
These policies should be chosen according to business semantics. A daily information briefing usually depends on content freshness, so sending multiple old briefings in succession may be meaningless. Processing tasks that involve record completeness, by contrast, may not be able to skip runs simply. The interface should provide the necessary explanation so users understand how delays and omissions are handled.
5. Text Input in Real-Time Conversation Should Connect to Task Confirmation
Providing a direct text input box can reduce the cost of switching from voice to text. For developers, it also helps with content that is difficult to express by voice, such as exact times, complex conditions, long text, and instructions that need careful review.
However, a text entry point should not be merely an additional control on a voice interface. It should be part of a unified interaction flow.
5.1 Generate a Draft First, Then Confirm Creation
For requests that involve long-term execution or external side effects, the system should first show a task draft and let the user confirm the task name, input conditions, execution time, output location, and notification method.
For example, if the user says “organize industry updates for me every day,” the system should further clarify the scope of interest, sending time, and content length. Only when key conditions are clear enough can a reliable schedule be formed.
5.2 Clarify the Current Role of the Input Box
In a real-time conversation, text input may be used to supplement the current question, modify task conditions, or initiate an independent request. The interface should use prompts, contextual association, or post-submission confirmation to let users know where the text will apply.
If voice is still being captured, whether text submission interrupts the current processing should also follow consistent rules. Otherwise, multimodal input increases ambiguity instead of reducing interaction cost.
5.3 Shortcut Consolidation Must Not Harm Discoverability
Consolidating entries such as attachments, video, microphone, and exit into the input area can simplify the layout, but high-frequency operations still need to be easy to find. Icons should have clear descriptions, and keyboard operation, assistive reading, and usability on smaller screens should be considered.
The goal of consolidating controls is to reduce cognitive load, not simply to reduce the number of buttons on the screen.
6. Permissions and Notifications Determine Whether Long-Term Tasks Remain Controllable
Recurring tasks can run continuously, which also means that authorization may remain effective for a long time. The system should explain what information the task will read, where the output will go, and how users can revoke permissions.
For reading materials versus performing modifications, controls should match the level of risk. Consent given in one conversation should not be interpreted indefinitely as authorization for all related future operations. In particular, when task conditions change materially, the system should reassess whether confirmation is needed.
Notifications also need tiers. Ordinary successful results can be summarized. When the user needs to provide more information, reauthorize access, or handle persistent failures, the system should make the prompt more prominent. If every execution forcibly interrupts the user, task management itself becomes a new source of distraction.
Enterprise scenarios also need to consider task ownership. If the creator’s account becomes invalid, the role changes, or access permissions are revoked, clear rules should determine whether the schedule is paused, transferred, or terminated. This prevents unmanaged long-term tasks from continuing to run.
7. Testing Should Cover the Data Path, Not Just the Interface Entry Point
The fact that a page can open only proves that part of the entry point and layout is usable. Complete validation should cover at least the following areas.
First, can the record be found after creation? Conversation confirmation, task storage, and the activity list should be consistent. A situation in which creation is reported as successful but the list remains invisible for a long time should not occur.
Second, is the empty state accurate? No tasks, loading, read failure, and no access permission should use different messages. Abnormal states should not be disguised as an empty list.
Third, are time boundaries correct? Testing should cover cross-day scenarios, time zone changes, daylight saving time changes, schedule modifications, and resumption after pausing.
Fourth, does failure recovery follow policy? The behavior of retries, backfills, deduplication, and cancellation requests before and after a system interruption should be checked.
Fifth, can multi-device states converge? After a schedule is modified on one terminal, other terminals should eventually display the correct state even if there is a short delay, and duplicate creation should be avoided.
Sixth, execution quality should be observed continuously. Monitoring should focus on scheduling delay, execution duration, failure reasons, and notification delivery, not only on creation counts. Specific targets should be set according to business requirements, and no universal performance promise should be made without basis.
8. Conclusion: The Activity Page Is the Visible Boundary of Execution Capability
Adding an activity page to a conversational AI assistant is essentially about building a visible, searchable, and controllable management layer for background execution. Layering tasks and schedules helps users distinguish one-time processing from long-term rules, while integrating text and voice makes complex conditions easier to express and confirm.
A truly mature design needs to connect the page entry point, task states, time semantics, retry policies, permission governance, and test validation. An experimental interface can indicate an interaction direction, but it cannot prove that the complete capability has been delivered. Centralized management of scheduled tasks has practical value only when users can clearly know why a task was created, when it will run, what the result is, and how to stop it.
