Designing an Activity Page and Centralized Scheduled Task Management for Conversational Assistants

    A practical engineering guide to building an activity page and centralized task management for conversational AI assistants. It explains how to model one-off tasks, recurring schedules, and execution records as distinct objects; how to structure the activity page so users can quickly see what is running, what will run, and what has finished; why natural language task creation must be confirmation-first rather than recognition-only; how reliable backend scheduling depends on the full chain of persistence, idempotency, missed-run policies, and separate failure tracking; how voice and text input should share the same task semantics; and which permissions, auditing, and observability capabilities enterprise scenarios require. The discussion is a general design analysis and set of engineering recommendations, not a claim about any specific shipped interface.

    1. From Instant Conversation to Continuous Execution: Why an Activity Page Is Needed

    Traditional conversational assistants typically follow an “user input → system processing → result returned” interaction model. Once requirements shift to “generate a summary tomorrow morning,” “organize my to-dos every day,” or “compile reference material in the background,” the task execution time no longer matches the time of the conversation. After users close the session, they still need to know whether the task was saved, when it will run, whether it can be canceled, and where to view the results.

    The reference material describes an interface direction that is still in testing: adding an activity entry at the top of the real-time conversation screen, organizing background operations and recurring schedules under two tabs, “Tasks” and “Scheduled.” The interface is also exploring a more direct text input method. Because the test page does not yet display existing tasks and the relevant entries must be enabled manually, this can only be understood as an exploration of interaction and information architecture; it does not mean that full scheduling capability has shipped.

    From a general technical perspective, the value of this direction is not the addition of two pages, but the establishment of a task management entry that is independent of the chat history. For developers, this means converting natural language requests into executable, trackable task objects. For enterprise users, it means making authorization scope, execution records, and exception handling clearly visible.

    The following content is a general design analysis and engineering recommendation; it does not imply that the tested interface already has these capabilities.

    2. First, Clarify the Relationship Between Tasks, Schedules, and Execution Records

    The primary problem of centralized management is object modeling. One-off tasks, recurring schedules, and actual execution records are related but should not be treated as the same kind of object.

    2.1 One-Off Tasks: Describing a Single Operation to Complete

    A one-off task can either run immediately or be triggered at some point in the future. For example, organizing a segment of meeting content in the background is an immediately executed task; generating a reminder the next morning is a delayed one-off task.

    Therefore, “background task” is not equal to “scheduled task,” and “Scheduled” does not necessarily contain only recurring operations. The interface can set tabs according to user understanding, but the underlying data model should clearly distinguish the execution mode from the recurrence rule, so that page categorization does not end up constraining business capability.

    2.2 Recurring Schedules: Describing a Continuously Effective Scheduling Rule

    A recurring schedule stores “what to repeat and when,” not any single execution itself. For example, generating a daily information summary involves at least the execution content, the time rule, the time zone, the enabled/paused state, and how results are delivered.

    When a user pauses a schedule, it should prevent subsequent triggers, but it does not necessarily terminate a task that is already running. Modifying a schedule should also not overwrite past execution history; otherwise, it becomes difficult to determine which configuration version was actually used when troubleshooting.

    2.3 Execution Records: Describing the Result of One Actual Run

    Each recurring trigger should produce an independent execution record that stores the start time, end time, run status, error reason, and result reference. This way, users can distinguish “the schedule was created successfully” from “this execution succeeded.”

    A reasonable set of relationships can be summarized as:

    Schedule definition → multiple triggers → multiple execution records

    One-off task → one expected execution → corresponding execution record

    If automatic retries are used, it is also necessary to further distinguish the same logical execution from multiple technical attempts, so that a retry is not mistakenly displayed to the user as multiple created tasks.

    3. Activity Page Information Architecture: Let Users Answer Three Questions Quickly

    An effective activity page should let users quickly know: what the system is doing, what it will do in the future, and what has already been completed.

    3.1 The Task List Highlights Current Progress and Results

    Task cards should display the task name, submission time, current status, and a result entry. Running tasks can provide staged descriptions, but should not show a false completion percentage when it cannot be accurately estimated.

    Common statuses can include pending, running, succeeded, failed, and canceled. Status names should correspond to clear backend facts. For example, “canceled” means the system has confirmed that execution was stopped or prevented, not merely that it received the user’s cancellation request.

    For long-running operations, an intermediate state such as “cancellation in progress” can be added to avoid users assuming that clicking a button will always immediately terminate the run.

    3.2 The Schedule List Highlights Rules and Control Entries

    Recurring schedule cards are better suited to display the recurrence rule, the time zone, the next expected execution time, the most recent execution result, and entries to pause, resume, edit, and delete.

    The next execution time should be calculated from the actually effective rule, not inferred independently by the frontend. Otherwise, a change in device time zone or a rule modification could cause the page display to diverge from the scheduling service.

    Natural language descriptions should also be as specific as possible. For example, “run on weekday mornings” needs to state which calendar definition of “weekday” is used and whether holiday adjustments are included. When complex calendars cannot be reliably supported, the limitation should be stated clearly rather than leaving users to guess.

    3.3 Empty States Must Distinguish “No Data” from “Failed to Load”

    A test page not showing created content is not enough to prove that tasks do not exist, nor to conclude that scheduling failed. Possible causes include the entry not yet being connected to data, filter conditions not matching, or the feature still being incomplete.

    In a formal design, it should at least distinguish among no tasks, loading, load failure, and no access permission. Providing a retry entry on failure pages and creation guidance on genuinely empty lists avoids users repeatedly creating duplicate tasks.

    4. Natural Language Task Creation: The Key Is Confirmation, Not Recognition

    A conversational assistant being able to understand a request does not mean the request is executable. “Give me a summary every morning” still contains multiple unspecified conditions: at what time to run, which time zone to use, what content the summary covers, where to send the result, and whether access to relevant material is permitted.

    A reliable creation flow can be divided into four steps:

    First, identify whether the user is requesting immediate execution, future execution, or recurring execution.

    Second, extract the execution target, time rule, data scope, and result delivery method, and ask follow-up questions for missing conditions.

    Third, present the interpreted task as a structured confirmation card so the user can check whether the system understood correctly.

    Fourth, after the user confirms, persist it and return a record that can be found on the activity page.

    For operations with side effects, such as external sending or modifying business data, the confirmation content should also include the target of the operation and the authorization boundary. Just because a user once allowed access to material in a chat does not mean all subsequent recurring tasks are granted indefinite authorization.

    5. Backend Scheduling: Reliability Comes from the Complete Chain

    The activity page is only the presentation layer. A complete implementation usually also involves task storage, a scheduling service, an execution queue, worker nodes, result storage, and a notification mechanism. Each component can use a different technical implementation, but they need a unified task identifier and status semantics.

    5.1 Persistence Precedes Success Feedback

    The system should tell the user that creation succeeded only after the task or schedule has been reliably saved. If the conversational reply succeeds but storage actually fails, the activity page will show the contradiction of “present in the chat but absent from the list.”

    Creation requests should also account for duplicate submissions. If a user’s network drops and they click confirm again, the server needs to recognize the same creation intent to reduce the risk of generating duplicate schedules.

    5.2 Use Idempotent Design to Handle Duplicate Delivery

    In a distributed environment, message redelivery, execution node failures, and timeout retries can all cause duplicate execution. It is not enough to rely solely on the scheduling service claiming it “triggers only once”; the execution stage itself should have duplicate-detection capability.

    For recurring schedules, the same round of execution can be identified by combining the schedule identifier and the logical trigger time. When sending notifications or modifying external data, deduplication measures are also needed at the point where the side effect occurs. This prevents background retries from turning into duplicate reminders or duplicate writes.

    5.3 Define a Clear Policy for Missed Execution Times

    System failures or maintenance may cause a schedule to miss its designated time. Whether to catch up, skip, or run only the most recent one after recovery should be determined by the nature of the task.

    For example, a morning information summary re-sent in the evening may lose its value, whereas a periodic aggregation often needs to preserve the complete data interval. The design should define catch-up boundaries to avoid a flood of outdated tasks executing at once after service recovery.

    5.4 Record Execution Failures and Notification Failures Separately

    A task that succeeds but whose result notification fails is a different class of problem from the task itself failing. The former is suited to retrying the notification; only the latter requires re-executing the task. Conflating the two can cause users to receive duplicate results or even trigger duplicate business operations.

    6. Voice and Text Collaboration: Lower Input Cost While Keeping the Same Task Semantics

    The reference material also covers an exploration of providing a text input box directly within the real-time conversation interface. Its general significance is to lower the cost of switching input methods, not simply to replace voice with text.

    Voice is suited to quickly expressing a goal, while text is better for verifying dates, names, and complex conditions. For example, if a user first proposes creating a schedule by voice and then modifies the execution time by text, the system should keep the same pending task rather than interpreting the two inputs as two independent requests.

    The input area can integrate entries such as attachments and audio/video controls, but the state must remain clear. Users need to know explicitly whether recording is currently active, whether typed text will be submitted immediately, and which request an attachment will be used for.

    It is also necessary to distinguish among three behaviors: “send a message,” “create a task,” and “modify a schedule.” The more unified the interface, the more it needs confirmation cards and explicit buttons to prevent misoperation. For important changes, it is not advisable to submit directly based solely on a piece of voice that may contain recognition errors.

    7. Enterprise Scenarios: Permissions, Auditing, and Observability Cannot Be Missing

    Scheduled tasks are persistent, and their risks are often higher than a single question-and-answer exchange. Permission design should not be checked only at creation time; it should also be verified at execution time.

    For example, after a creator loses access to certain material, existing schedules should not continue to read restricted content. Shared tasks should also distinguish view, edit, pause, and delete permissions; the fact that a task appears in a team list should not allow all members to modify it.

    Audit records should retain the creator, configuration change times, key authorization changes, and execution results, while avoiding unnecessary writing of sensitive raw text into logs. The retention period for results and history should also be manageable, so the task management page does not become a long-term repository of accumulated sensitive data.

    Observability needs to cover trigger delay, execution duration, failure counts, retry status, and notification status. When troubleshooting, it should be possible to determine whether the problem occurred in scheduling, execution, dependency access, or result delivery, rather than seeing only a generic failure message.

    8. Validation Path: From Page Visibility to End-to-End Usability

    Validating centralized task management capability should follow the complete user journey, not just check whether the tabs can be opened.

    First, create a one-off task, confirm it appears on the activity page, and verify its status updates correctly.

    Second, create a recurring schedule, check the rule, time zone, and next execution time, then verify behavior after pausing and resuming.

    Third, simulate network retries, permission revocation, execution timeouts, and notification failures, and check whether duplicate creation, duplicate side effects, or incorrect status overwrites occur.

    Finally, verify that context stays consistent when switching between voice and text, and test status handling when a cancellation request and actual completion occur at the same time.

    The maturity of the activity page ultimately depends on whether it can connect user intent, scheduling rules, and actual execution. A centralized entry provided by the interface is only the starting point; a clear object model, a reliable execution mechanism, explicit authorization boundaries, and traceable records are the foundation for a conversational assistant to take on continuous tasks.