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
It'll be a mainly dry but chilly night for most of us with a risk of patchy frost, fog and low cloud later.
Ched Evan's fiancé Natasha Massey talks for the first time about why she has stood by him for the last five years.
Leanne Wood has said she accepts the referendum result but that it has left Wales with a weak position for negotiation.