A little girl of four was left home alone while her mother went out to work.
Police went to her home in Mold, North Wales, following an anonymous tip off to social workers.
They found the house in an unkempt condition and the girl was home alone with the front door unlocked.
The mother had gone out in the car to visit customers.
The enormity of what she had done had not dawned on her until later, Flintshire Magistrates' court heard .
She had since given up work and her husband has changed his working pattern her solicitor Bethan Jones explained.
The mother, who had no previous convictions, admitted neglecting the child in a way likely to cause her unnecessary suffering.
She was placed on a 12 month community order with supervision and she was sent on a "positive thinking" workbook programme run by the probation service.
The woman, who was ordered to pay £85 costs, was told by District Judge Gwyn Jones that due to her then working pattern, she "became oblivious to the risks" posed to her youngest child by being left at home alone.
More top news
A damning Wales Audit report points to financial pressures and short-term thinking for delayed non-emergency operations.
Welsh education watchdog Estyn says progress is being made in the education system here, but there are still significant challenges.
A band of rain pushing southeast Wednesday introducing increasingly cold conditions through Thursday and Friday