# Customer Workflows: Building a loyalty program with Temporal

DevFeed: [Customer Workflows: Building a loyalty program with Temporal](<https://devfeed.tech/articles/customer-workflows-building-a-loyalty-program-with-temporal-35702.md>)

Original publisher: [Read original article](<https://temporal.io/blog/actors-and-workflows-part-2>)

Author: Fitz

Published: 2023-08-03T17:00:00Z

Content type: tutorial

Language: en

Sources: [Temporal Blog](<https://devfeed.tech/sources/temporal-blog.md>)

Topics: [Actor](<https://devfeed.tech/topics/actor.md>), [fly](<https://devfeed.tech/topics/fly.md>), [Code](<https://devfeed.tech/topics/code.md>), [Framework](<https://devfeed.tech/topics/framework.md>), [GitHub](<https://devfeed.tech/topics/github.md>), [Go](<https://devfeed.tech/topics/go.md>), [Java](<https://devfeed.tech/topics/java.md>), [Python](<https://devfeed.tech/topics/python.md>)

Tags: [actor](<https://devfeed.tech/tags/actor.md>), [customers](<https://devfeed.tech/tags/customers.md>), [github](<https://devfeed.tech/tags/github.md>), [go](<https://devfeed.tech/tags/go.md>), [how-to](<https://devfeed.tech/tags/how-to.md>), [java](<https://devfeed.tech/tags/java.md>), [loyalty-account](<https://devfeed.tech/tags/loyalty-account.md>), [python](<https://devfeed.tech/tags/python.md>), [workflows](<https://devfeed.tech/tags/workflows.md>)

## AI overview

This tutorial explains how Temporal Workflows can represent Actors through a customer loyalty account example. It reviews the Actor Model's requirements--message handling, creating Actors, and maintaining state--and describes how a loyalty account tracks points and rewards. The article includes Go, Java, and Python implementations.

## Source excerpt

Discover how Temporal optimizes customer workflows in loyalty programs, managing actors and tasks efficiently to enhance customer engagement and retention.