Skip to main content

Worker Plugins

Worker plugins handle background tasks like notifications, data processing, and scheduled jobs.

Base Preset Workers​

These workers are automatically loaded when using the base preset and are strongly recommended for proper system operation:

Adapter KeyTypeDescription
shop.unchained.worker-plugin.messageMESSAGERoutes messages through templates to delivery workers
shop.unchained.worker-plugin.emailEMAILEmail notifications via Nodemailer
shop.unchained.worker-plugin.http-requestHTTP_REQUESTOutbound HTTP webhooks
shop.unchained.worker-plugin.bulk-importBULK_IMPORTBulk data import from JSON streams
shop.unchained.worker-plugin.externalEXTERNALPlaceholder for external workers
shop.unchained.worker-plugin.heartbeatHEARTBEATSystem health check
shop.unchained.worker-plugin.zombie-killerZOMBIE_KILLERCleanup orphaned database records
shop.unchained.worker.error-notificationsERROR_NOTIFICATIONSDaily error reports

SMS Workers​

Adapter KeyTypeDescription
shop.unchained.worker-plugin.twilioTWILIOSMS via Twilio
shop.unchained.worker-plugin.bulkgateBULKGATESMS via BulkGate
shop.unchained.worker-plugin.budgetsmsBUDGETSMSSMS via BudgetSMS

Push Notifications​

Adapter KeyTypeDescription
shop.unchained.worker-plugin.push-notificationPUSHW3C Web Push notifications

Currency Rate Workers​

Adapter KeyTypeDescription
shop.unchained.worker.update-ecb-ratesUPDATE_ECB_RATESEUR exchange rates from ECB
shop.unchained.worker.update-coinbase-ratesUPDATE_COINBASE_RATESCrypto/fiat rates from Coinbase

Enrollment Workers​

Adapter KeyTypeDescription
shop.unchained.worker-plugin.generate-enrollment-ordersENROLLMENT_ORDER_GENERATORGenerate orders from subscriptions

Token/NFT Workers​

Adapter KeyTypeDescription
shop.unchained.worker-plugin.export-tokenEXPORT_TOKENToken minting/export process
shop.unchained.worker-plugin.refresh-tokensREFRESH_TOKENSRefresh token ownership data
shop.unchained.worker-plugin.update-token-ownershipUPDATE_TOKEN_OWNERSHIPExternal token ownership verification

Creating Custom Worker Plugins​

See Custom Worker Plugins for creating your own worker adapters.