Philia: Add Points to User (RabbitMQ) icon

Philia: Add Points to User (RabbitMQ)

Gives points or rewards to a user

Philia: Add Points to User (RabbitMQ)

AI-generated

Summary

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.bid in the reward message.
  • Username (required) — User identifier included as config.username; the message sets uid to null.
  • Points (required) — Points amount sent as the score number for 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 REWARD and is sent persistently to the durable monolithic queue. The node returns the constructed messages after attempting to send them; it does not check the result of sendToQueue.

Links

Discussion