Patent attributes
An electronic device with one or more processors and memory includes a procedure for using a digital assistant to automatically respond to incoming communications. In some embodiments, the device obtains a speech input from a user, and, in response to obtaining the speech input, the device determines whether the speech input includes instructions for performing a specified action in response to receipt of a subsequent incoming communication from one or more specified senders. After storing the instructions, the device obtains an incoming communication from a respective sender. The device determines whether the respective sender is one of the one or more specified senders, and, upon determining that the respective sender is one of the one or more specified senders, the device performs the specified action in accordance with the instructions and thereafter automatically deleting the instructions.