fix actions to trigger when messages have a prompt in front of them