src/subscribers/attribute-created.ts
Reference
Event reference
Events emitted by the Attribute domain, for subscribers and side effects.
The Attribute domain emits events as attributes and their values change.
Subscribe to them to run side effects, such as reindexing storefront filters,
syncing an external PIM, or kicking off follow-up workflows, instead of polling.