It's really best to use products that have been especially made to use in a washing machine, like smol laundry capsules. They'll dissolve properly in all wash temperatures, tackle the dirt and exit the machine without causing issues. Overall, this means you should not use washing up liquid in your washing machine!