It’s possible to intercept and modify messages before or after they’re sent, whether that’s rule-based, or for every message. A PubNub feature called Functions allows you to do things like re-routing, augmenting, ﬁltering, transforming, and aggregating messages.
In the example below, we're simply adding text to a message but there are many other things you can do with Functions, like using pre-built third-party integrations from over 30 companies including Amazon, Microsoft, and Google.
Services like translation, sentiment analysis, SMS, text-to-speech, content moderation, and more, are delivered through PubNub's powerful serverless environment. Learn more about Functions.