Philia: Add Points to User (RabbitMQ)
AI-generatedSummary
Publishes a persistent reward message to the RabbitMQ monolithic queue for each input item, awarding the specified points and XP to a username under a business. Returns each published message as an output item.
Inputs
- Business ID (required) — Business identifier included as
config.bidin the reward message. - Username (required) — User identifier included as
config.username; the message setsuidto null. - Points (required) — Points amount sent as the score
numberfor the specified coin. - XP (required) — XP amount sent in the points system.
- Coin ID (required) — Coin identifier paired with the points amount.
- Description (required) — Used for both the points system title and description.
- RabbitMQ credentials (required) — Connection settings for RabbitMQ, including hostname, port, username, password, and optional virtual host and SSL settings.
Output shape
A list of items, one per input item, each containing the reward message in json.
Each message has kind
REWARDand is sent persistently to the durablemonolithicqueue. The node returns the constructed messages after attempting to send them; it does not check the result ofsendToQueue.