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 mild and murky night with rain clearing but fog patches gathering by the early hours of the morning.
Police are appealing for information after a man died following an assault outside a hospital.
Joyce Cox's body was found in woodland in Cardiff just after the outbreak of World War Two.