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
The showers will ease overnight with a brisk wind around the coasts and relatively mild temperatures!
We visit two communities in the South Wales Valleys which are preparing to mark the commemorations
Plaid Cymru says there'll be no savings from Brexit and calls on the UK government to borrow to meet the Leave campaign's promises to Wales