A surgical instrument, comprising: an end effector (752, 852), comprising: a first jaw; a second jaw movable relative to the first jaw between an open configuration and a closed configuration to grasp tissue; a staple cartridge (767, 867); and at least one electrode (796, 896); a drive member; a motor assembly configured to generate drive motions to move the drive member; and a control circuit configured to: cause the at least one electrode to deliver a therapeutic energy to the tissue in a first phase of a surgical treatment; cause the motor assembly to move the drive member to deploy staples from the staple cartridge into the tissue in a second phase of the surgical treatment; monitor a first tissue property in the first phase of the surgical treatment; switch from the first phase of the surgical treatment to the second phase of the surgical treatment if at least one of two conditions is met, wherein a first of the two conditions is triggered by reaching or exceeding a predetermined threshold of the first tissue property, and wherein a second of the two conditions is triggered by reaching or exceeding a predetermined threshold time of the first phase; set a parameter of the second phase of the surgical treatment based on at least one measurement of the tissue property determined in the first phase of the surgical treatment; and monitor a second tissue property, different from the first tissue property, in the second phase of the surgical treatment. an end effector (752, 852), comprising: a first jaw; a second jaw movable relative to the first jaw between an open configuration and a closed configuration to grasp tissue; a staple cartridge (767, 867); and at least one electrode (796, 896); a first jaw; a second jaw movable relative to the first jaw between an open configuration and a closed configuration to grasp tissue; a staple cartridge (767, 867); and at least one electrode (796, 896); a drive member; a motor assembly configured to generate drive motions to move the drive member; and a control circuit configured to: cause the at least one electrode to deliver a therapeutic energy to the tissue in a first phase of a surgical treatment; cause the motor assembly to move the drive member to deploy staples from the staple cartridge into the tissue in a second phase of the surgical treatment; monitor a first tissue property in the first phase of the surgical treatment; switch from the first phase of the surgical treatment to the second phase of the surgical treatment if at least one of two conditions is met, wherein a first of the two conditions is triggered by reaching or exceeding a predetermined threshold of the first tissue property, and wherein a second of the two conditions is triggered by reaching or exceeding a predetermined threshold time of the first phase; set a parameter of the second phase of the surgical treatment based on at least one measurement of the tissue property determined in the first phase of the surgical treatment; and monitor a second tissue property, different from the first tissue property, in the second phase of the surgical treatment. cause the at least one electrode to deliver a therapeutic energy to the tissue in a first phase of a surgical treatment; cause the motor assembly to move the drive member to deploy staples from the staple cartridge into the tissue in a second phase of the surgical treatment; monitor a first tissue property in the first phase of the surgical treatment; switch from the first phase of the surgical treatment to the second phase of the surgical treatment if at least one of two conditions is met, wherein a first of the two conditions is triggered by reaching or exceeding a predetermined threshold of the first tissue property, and wherein a second of the two conditions is triggered by reaching or exceeding a predetermined threshold time of the first phase; set a parameter of the second phase of the surgical treatment based on at least one measurement of the tissue property determined in the first phase of the surgical treatment; and monitor a second tissue property, different from the first tissue property, in the second phase of the surgical treatment.