A method, comprising: at an electronic device with a display and a touch-sensitive surface and one or more sensors: receiving a user input selecting a predetermined user activity, wherein the user input selecting the predetermined user activity is a voice input or an input on the touch-sensitive surface of the electronic device; determining first contextual data associated with the electronic device, wherein the first contextual data is indicative of a state or context of the electronic device as measured by the one or more sensors; determining, based on the selected user activity and the first contextual data, a first set of candidate tasks and a second set of candidate tasks different than the first set of candidate tasks, wherein the one or more candidate tasks of the first set of candidate tasks and/or one or more candidate tasks of the second set of candidate tasks include tasks that were previously performed in a context that matches the first contextual data; providing an output indicating the first set of candidate tasks and the second set of candidate tasks; receiving a set of user inputs identifying a first candidate task of the first set of candidate tasks and a second candidate task of the second set of candidate tasks; associating the first candidate task, the second candidate task, and the first contextual data with a task sequence for a voice shortcut corresponding to the user activity, the voice shortcut being a predetermined or a user specified voice shortcut; receiving second contextual data associated with the electronic device, the second contextual data corresponding to output of the one or more sensors of the electronic device; determining, whether the received second contextual data matches the first contextual data; and in accordance with a determination that the received second contextual data matches the first contextual data, providing via the display a suggestion affordance corresponding to the task sequence, which when selected causes the electronic device to perform the first task and the second task. receiving a user input selecting a predetermined user activity, wherein the user input selecting the predetermined user activity is a voice input or an input on the touch-sensitive surface of the electronic device; determining first contextual data associated with the electronic device, wherein the first contextual data is indicative of a state or context of the electronic device as measured by the one or more sensors; determining, based on the selected user activity and the first contextual data, a first set of candidate tasks and a second set of candidate tasks different than the first set of candidate tasks, wherein the one or more candidate tasks of the first set of candidate tasks and/or one or more candidate tasks of the second set of candidate tasks include tasks that were previously performed in a context that matches the first contextual data; providing an output indicating the first set of candidate tasks and the second set of candidate tasks; receiving a set of user inputs identifying a first candidate task of the first set of candidate tasks and a second candidate task of the second set of candidate tasks; associating the first candidate task, the second candidate task, and the first contextual data with a task sequence for a voice shortcut corresponding to the user activity, the voice shortcut being a predetermined or a user specified voice shortcut; receiving second contextual data associated with the electronic device, the second contextual data corresponding to output of the one or more sensors of the electronic device; determining, whether the received second contextual data matches the first contextual data; and in accordance with a determination that the received second contextual data matches the first contextual data, providing via the display a suggestion affordance corresponding to the task sequence, which when selected causes the electronic device to perform the first task and the second task.