Create, configure, and deploy PubNub Functions 2.0 event handlers, triggers, and serverless endpoints. Use when building real-time message transformations, PubNub modules, webhook integrations, or edge data processing.
Does it follow best practices?
Evaluation — 98%
↑ 1.81xAgent success when using this tile
Validation for skill structure
Message transformation with KVStore enrichment
Default async export
0%
100%
Require inside function
100%
100%
Try/catch wrapping
0%
100%
Async/await usage
0%
100%
KVStore for profile lookup
100%
100%
Atomic counter usage
0%
100%
TTL in minutes
100%
100%
Returns request.ok()
100%
100%
Returns request.abort() on error
0%
50%
Operation limit respected
100%
100%
Channel pattern with wildcard
100%
100%
Staging before production
100%
100%
HTTP endpoint REST API function
Request-response signature
100%
100%
Response.send usage
0%
100%
CORS Allow-Origin header
100%
100%
CORS Allow-Methods header
100%
100%
OPTIONS preflight handling
100%
100%
Default async export
0%
100%
Try/catch wrapping
0%
100%
Async/await not then
0%
100%
KVStore require inside body
100%
100%
KVStore TTL in minutes
0%
100%
Error status 500 response
100%
100%
On Request trigger type
100%
100%
Webhook integration with vault secrets and external API
Vault for secrets
100%
100%
No hardcoded secrets
100%
100%
XHR fetch for webhook
100%
100%
Fire for analytics
100%
100%
Default async export
0%
100%
Try/catch wrapping
0%
100%
Async/await pattern
0%
100%
Operation limit respected
0%
100%
Channel pattern for orders
100%
100%
Vault setup instructions
100%
100%
After Publish trigger
100%
100%
Staging recommendation
100%
100%
Scheduled interval aggregation function
Event parameter
0%
100%
Event.ok() return
0%
100%
Event.abort() on error
0%
100%
GetCounter for votes
0%
100%
Publish for broadcast
100%
100%
Default async export
0%
100%
Try/catch wrapping
0%
100%
Async/await pattern
0%
100%
Require inside function
100%
100%
Operation limit awareness
0%
25%
On Interval trigger
100%
100%
Console logging
100%
100%
Rate limiting with JWT authentication
Vault for JWT secret
100%
100%
JWT module usage
0%
100%
IncrCounter for rate limit
0%
100%
Abort on auth failure
100%
100%
Abort on rate limit
100%
100%
Ok on success
100%
100%
Async/await not then
0%
100%
Default async export
0%
100%
Try/catch wrapping
0%
100%
Channel pattern validity
100%
100%
Require inside function
100%
100%
Operation limit respected
0%
100%
Install with Tessl CLI
npx tessl i pubnub/pubnub-functions