Shawabti are small figurines, usually made of faience or wood, that were buried with ancient Egyptians. They were believed to serve as magical substitutes for the deceased in the afterlife, performing tasks like farming and carrying water.
The jackal-headed god you are likely thinking of is Anubis, a prominent deity associated with death, mummification, and the afterlife.