This is a great way to incorporate coding and computational thinking in primary ELA. Books that have a sequence of steps or events are excellent. Some of the books I have used before include:
Here is a list of other similar children's books that can be used, along with associated worksheets.
NOTE: These books can also be used with Blue-Bots/Bee-Bots and Ozobots. Have a look at this example with Ozobots.
Offline Games and Activities
If you and your students are new to coding, this is another place to start. If you did an Internet search, you will be able to find many more examples.