Engineering
Amazon Aurora
Provides relational storage for CandyBase management data.
Repository findings and notes on the SalesCandy product, sales workflow, and engineering team.
Browse repositories and contributors
Engineering
Provides relational storage for CandyBase management data.
Engineering
Starts recurring background jobs on a schedule.
Engineering
Bridges SalesCandy’s authentication service and AWS identity federation.
Engineering
Stores lead records and streams record changes to downstream processing.
Engineering
Stores files that SalesCandy clients can upload and retrieve through signed requests.
Engineering
Sends email from the reporting pipeline.
Product
SalesCandy won the Digi Innovation Award and placed among the top 15 finalists at AmBank BizRACE in 2018.
Engineering
Builds the browser-based admin and manager portals.
Engineering
How SalesCandy rebuilt its lead management platform with AWS serverless services and what Rosli advised other startups to do.
Engineering
Connects the manager portal to AWS authentication and GraphQL from the browser.
Engineering
Defines SalesCandy’s managed GraphQL API and connects operations to backend services.
Engineering
Defines AWS resources alongside the functions that depend on them.
Engineering
Runs SalesCandy handlers for HTTP callbacks, queued work, and scheduled jobs.
Engineering
Routes events to subscribers and queues background work for independent consumers.
Engineering
Waits until a scheduled routing-hours change becomes due.
Utilities
An upstream utility for scanning new S3 objects with AWS Lambda and ClamAV.
Product
SalesCandy gave customer systems a way to follow the same form field through a rename.
Product
CandySync let customer systems follow changes to leads and the activity recorded against them.
Engineering
A transitional webhook schema gave existing CandySync subscribers time to update their integrations.
Contribution
Archived Git activity for Ali Fattahdizaji on 20200308-sample-leads.
Contribution
Modified `collectData.js` to reduce collected items by implementing random selection using `function_score` in the Elasticsearch query.
Contribution
Adjusted validation logic for WhatsApp message templates to correctly handle threshold and industry ID parsing for update and delete operations.
Contribution
Archived Git activity for Muhammad Anwaar on admin-api.
Contribution
Archived Git activity for Muhammad Shoaib on admin-api.
Contribution
Archived Git activity for Rasikh Mashhadi on admin-api.
Contribution
Updates to `helper/TenantModel.js` correctly reflect the migration of `waMsgThreshold` from the `tenants` table to `tenantSettings` in SQL queries and object handling.
Contribution
Archived Git activity for Ibrahim on admin-portal.
Contribution
Archived Git activity for Mahima Katiyar on admin-portal.
Contribution
Updated the validation check for the tracking field name in `TrackerFormComponent` to use the 'pattern' error type and updated the associated message.
Contribution
Refactored GraphQL schema by renaming fields like `tenantUsers` to `userId` and adding new fields like `username`, `designation`, `email`, and `phone` to user-related queries.
Contribution
Archived Git activity for Muhammad Shoaib on admin-portal.
Contribution
Archived Git activity for Najib Rosli on admin-portal.
Contribution
Added console logs in `AuthComponent` to check the validity of the phone number input and retrieve validation errors, improving debugging visibility.
Contribution
Archived Git activity for Reshu Vaish on admin-portal.
Contribution
The build process was updated to explicitly include AWS credentials (Access Key ID, Secret Access Key, and Region) in the deployment script.
Contribution
Archived Git activity for Shiva Kesarwani on admin-portal.
Contribution
The logic for enabling a field's 'invalid' state in the lead-action component was updated to check for both 'at_incall' and 'at_ocall' status.
Contribution
Updated Angular dependencies and added new loaders/packages like 'sass-loader' and 'node-sass' to resolve build and testing issues.
Contribution
Archived Git activity for Lim Shi Yek on app-status-reports.
Contribution
Updated dependencies in package.json and changed the runtime version in serverless.yml.
Contribution
Archived Git activity for Reza Rosli on app-status-reports.
Contribution
Archived Git activity for Lim Shi Yek on auditlogger.
Contribution
Archived Git activity for Muhammad Shoaib on auditlogger.
Contribution
Archived Git activity for Reza Rosli on auditlogger.
Contribution
Updated serverless.yml to use SSM parameters for environment details like EFS access points and subnet IDs.
Contribution
Archived Git activity for Reza Rosli on bouncer.
Contribution
Introduced `resourcesCandyOffline` to handle offline lead source data processing, including new configuration files and S3 lifecycle rules.
Contribution
Updated DynamoDB table creation logic in `tenantBootstrap` to use `BillingMode: 'PAY_PER_REQUEST'` for the `sc-candyBase` table.
Contribution
Adds explicit resource definitions and outputs in `sc-vpc` for AWS resources like Security Groups and EIPs, making identifiers available for cross-stack referencing.
Contribution
Built an Athena-backed audit query, ordered results by event time, and investigated intermittent S3 access errors.
Contribution
Introduces a dedicated reindexing queue mechanism by updating `serverless.yml` with `CandyLakeQueueUrl` and modifying `app/CandyStreamHandler.js` to use AWS SQS for queueing.
Contribution
Renamed a configuration constant in `serverless.yml` from `SR_LABEL` to `CandyMail` in the CandyBase context.
Contribution
Archived Git activity for Reza Rosli on CandyMailbox.
Contribution
Archived Git activity for Lim Shi Yek on candymuncher-es-indexer.
Contribution
Archived Git activity for Muhammad Shoaib on candymuncher-es-indexer.
Contribution
Archived Git activity for Reza Rosli on candymuncher-es-indexer.
Contribution
Archived Git activity for Reza Rosli on candymuncher-es.
Contribution
Archived Git activity for Muhammad Shoaib on CandyMuncher.
Contribution
Archived Git activity for Reza Rosli on candymuncher-reindexer.
Contribution
Archived Git activity for Reza Rosli on CandyMuncher.
Contribution
Added a new API endpoint, `AdminNumberLists`, to `config/function.yml` for managing number lists via HTTP POST to `/admin/list/number/{dataType}`.
Contribution
Updated AWS resource reference syntax in `serverless.yml` to correctly use `${self:provider.region}` when constructing Amazon Resource Name (ARN) strings.
Contribution
Archived Git activity for Wahidiatul Firni on CandyNumber.
Contribution
Removed version and authorship metadata from the customer setup guide to align with Git version control.
Contribution
Built the manager setup and form mapping, then moved website capture to an S3-backed intake path. A site could acknowledge a stored enquiry while a separate worker processed it for downstream lead ingestion.
Contribution
Established the browser capture script, adapted it for older browsers, and connected website form submissions to configurable campaign tracking.
Contribution
Replaced jQuery with native browser events for form capture and introduced a Webpack build.
Contribution
Reorganised the browser embed around dedicated helpers in the 3.6.11 rewrite and fixed when queued submissions resume.
Contribution
Updated the service’s embed template for the 3.6.11 browser rewrite and gave developers one place to swap the script URL during debugging.
Contribution
Added bulk-edit trace messages and corrected the GraphQL handler’s tenant ID lookup.
Contribution
The patch in `LeadLogMarshaller.js` prevents the transmission of 'MODIFY' events for lead logs by returning null if the event type matches.
Contribution
Updates lead diagnosis to use `event.arguments.where.leadId` and adjusts `redis.getLead` to accept only `leadId`.
Contribution
Archived Git activity for Muhammad Shoaib on carousel-analytics.
Contribution
Archived Git activity for Reza Rosli on carousel-analytics.
Contribution
Archived Git activity for Muhammad Anwaar on Carousel.
Contribution
The service name changed from `leadRouting` to `sc-carousel`, and dependencies were updated to include `serverless-plugin-optimize` and set `package.individually: true`.
Contribution
Added the first matcher implementation and documented its handoff to Presence for mobile dispatch.
Contribution
Persisted deferred leads in Redis and kept later team-assigned leads eligible during automatic routing.
Contribution
Updated serverless.yml to include `serverless-finch` plugins and defined custom resources for better deployment management.
Contribution
Archived Git activity for Reza Rosli on cdy.ai.
Contribution
Explicitly passes a `permission` object containing `tenantId` and a hardcoded `userId` of "system" when setting up AWS Lambda invocation contexts across multiple services.
Contribution
Logging related to 'lead data' was systematically removed or modified across several commits, cleaning up console logs and removing environment-specific function definitions.
Contribution
Archived Git activity for Reza Rosli on classicapi.
Contribution
Connected template-based test leads to dynamic form fields and fixed the generator to preserve random assignment. Those changes let synthetic leads exercise the forms service and assignment handling with the intended inputs.
Contribution
Built a browser interface for creating leads and added a repeat-lead action. It gave testers a direct way to exercise a repeat enquiry alongside the initial submission.
Contribution
Started from the CandyMuncher feeder and split bulk generation into queued jobs. Separate Lambda workers could generate test leads without making the initial bulk request do all the work.
Contribution
Changed synthetic form email fields to use example addresses and updated the campaign-tracking payload. This kept generated inputs aligned with the revised lead structure while using addresses intended for examples.
Contribution
Introduces the `getForm` query to the GraphQL schema, requiring updates to `package.json`, `serverless.yml`, and adding a new mapping template.
Contribution
Archived Git activity for Lim Shi Yek on crm-api.
Contribution
Archived Git activity for Muhammad Shoaib on crm-api.
Contribution
Archived Git activity for Reza Rosli on crm-api.
Contribution
Archived Git activity for Ele Elyiana on customer-api-appsync.
Contribution
Adds functionality to interact with WhatsApp message templates via a new GraphQL operation, updating schemas, mapping templates, and AWS resources.
Contribution
Archived Git activity for Muhammad Shoaib on customer-api-appsync.
Contribution
Implements functionality to get and update user portal preferences by adding new AWS Lambda data sources and corresponding request mapping templates.
Contribution
Archived Git activity for Ele Elyiana on customer-api.
Contribution
Archived Git activity for Ibrahim on customer-api.
Contribution
Archived Git activity for Lim Shi Yek on customer-api.
Contribution
Refactored lead export queries from `getExportLeadList` to `getExportsList` across GraphQL and data source definitions.
Contribution
Added support for creating project groups via a new mutation, `createProjectGroup`, in the GraphQL schema and associated serverless configuration.
Contribution
Added `getLeadActionTemplate` to retrieve a tenant's lead action template from DynamoDB, utilized in `handlers/leadActionTemplate.js`.
Contribution
Updated the Elasticsearch client dependency in package.json from ^7.14.1 to ^7.17.0.
Contribution
Updated `main.js` to explicitly load AWS credentials from a local file path (`.aws-credentials.json`).
Contribution
Updates include changes to module paths and handler references, such as updating `handler` entries in `config/function.yml` to point to new or modified file paths.
Contribution
The `serverless.yml` file was updated to remove the reference to the temporary SQS queue name, `sc-sugarrush-temp-lead`, from the provider configuration.
Contribution
Added `console.error` statements within the `list` function in `app/controller/manager/update/update.js` to log the incoming `event` and `context` objects to CloudWatch.
Contribution
The message unpacking logic was updated to extract and include a `projectId` from the message body, enhancing event data context.
Contribution
Archived Git activity for Angga Boskoro on Teaching an API through one workflow.
Contribution
Archived Git activity for Reza Rosli on Teaching an API through one workflow.
Contribution
Archived Git activity for Ele Elyiana on ipropertyapi.
Contribution
Renames the lead export handler from `getExporedtLeads` to `getExportsList` in `handlers/leads-handler.js` to better reflect its purpose.
Contribution
Archived Git activity for Muhammad Shoaib on lead-exporter.
Contribution
Archived Git activity for Reza Rosli on lead-exporter.
Contribution
Archived Git activity for Lim Shi Yek on lead-performance-report.
Contribution
Corrected the import statement for the Elasticsearch client in `app/getLeadLastActionStatusReport.js`.
Contribution
Refactored lead status reporting by replacing direct Elasticsearch module usage with a dedicated `LeadStatusReport` module.
Contribution
Archived Git activity for Aashiq Khan on manager-portal.
Contribution
Archived Git activity for Angga Boskoro on manager-portal.
Contribution
Archived Git activity for Ele Elyiana on manager-portal.
Contribution
Archived Git activity for Faiz Halim on manager-portal.
Contribution
Archived Git activity for Ibrahim on manager-portal.
Contribution
Archived Git activity for Lim Shi Yek on manager-portal.
Contribution
Archived Git activity for Mahima Katiyar on manager-portal.
Contribution
Archived Git activity for Mohd Thaqif Bin Abdullah Hasim on manager-portal.
Contribution
Archived Git activity for Muhammad Shoaib on manager-portal.
Contribution
Archived Git activity for Najib Rosli on manager-portal.
Contribution
Archived Git activity for Rasikh Mashhadi on manager-portal.
Contribution
Archived Git activity for Reshu Vaish on manager-portal.
Contribution
Archived Git activity for Reza Rosli on manager-portal.
Contribution
Archived Git activity for Shiva Kesarwani on manager-portal.
Contribution
Archived Git activity for Shubhi Bhadauriya on manager-portal.
Contribution
Archived Git activity for SMehdiAhmed on manager-portal.
Contribution
Archived Git activity for Stuti Singh on manager-portal.
Contribution
Archived Git activity for Teo on manager-portal.
Contribution
Archived Git activity for Yash Bansal on manager-portal.
Contribution
The `serverless.yml` file for CandyMuncher updates the runtime environment from nodejs12.x to nodejs14.x for the staging environment.
Contribution
Archived Git activity for Reza Rosli on manual.
Contribution
Archived Git activity for Reza Rosli on mhub-crm-adapter.
Contribution
Archived Git activity for Lim Shi Yek on phone-number-validator.
Contribution
Updated package dependencies (e.g., `libphonenumber-js`, `serverless`) and changed the runtime specified in `serverless.yml` from `nodejs8.10` to `nodejs12.x`.
Contribution
The `format` function signature was updated to accept only `(event)`, and the default country code now reads from `process.env.defaultCountryCode` instead of being hardcoded.
Contribution
Introduced a dedicated logger module (`libs/logger.js`) and updated `handler.js` to use it, alongside updating `package.json` dependencies.
Contribution
Archived Git activity for Lim Shi Yek on Presence.
Contribution
Archived Git activity for Muhammad Anwaar on Presence.
Contribution
Archived Git activity for Muhammad Shoaib on Presence.
Contribution
Modified `app/lib/CandyBase.js` to explicitly return `null` when `getRoutingStatus` finds no results, improving reliability over previous undefined/null returns.
Contribution
The parameter order passed to the query execution within `_updateCandyBase` in `handlers/newEventsHandler.js` was updated.
Contribution
Renamed the project from `CandyBase-PresenceObserver` to `sc-presenceLogger` across `package.json` and `serverless.yml`.
Contribution
Archived Git activity for Lim Shi Yek on project-cpx-report.
Contribution
Updated dependency versions in package.json and changed the runtime in serverless.yml to align with newer versions.
Contribution
The data source for acquisition reports was updated from CandyFloss to CandyLake, reflected in both the application logic and serverless configuration.
Contribution
Archived Git activity for Azraf on Modelling who gets the next lead.
Contribution
Archived Git activity for Reza Rosli on Modelling who gets the next lead.
Contribution
Updated `serverless.yml` to use `RoutingHoursAlarmStateMachineName` and refactored `handler.js` to introduce `notifyRoutingHoursEvent` for better separation of concerns.
Contribution
Archived Git activity for Lim Shi Yek on RoutingLogger.
Contribution
Adds infrastructure for 'carousel' logging by defining custom queue names and resources in `serverless.yml` and updating handlers.
Contribution
The log ingestion handler was updated to perform parallel insertions into both CandyBase and ElasticSearch, and simplified the reference ID generation logic.
Contribution
Archived Git activity for Lim Shi Yek on salesperson-action-report.
Contribution
Archived Git activity for Muhammad Anwaar on salesperson-action-report.
Contribution
The maximum size constant was reduced from 2147483647 to 1000000 in `app/lib/leadLogs.js` and `app/lib/leads.js` following an Elasticsearch upgrade.
Contribution
Archived Git activity for Muhammad Anwaar on salesperson-ranking.
Contribution
Archived Git activity for Reza Rosli on salesperson-ranking.
Contribution
Added administrative CRUD operations for 'CandyCrumbs' tracking to the schema, mapping templates, and function configurations within the `candyNumber` data source.
Contribution
The `UpdateWhatsappMessageTemplateInput` now accepts a nullable list of IDs for the `id` field, changing it from a required non-nullable scalar.
Contribution
Archived Git activity for Muhammad Shoaib on sc-admin-appsync.
Contribution
The method for retrieving versions in CandyBase was updated from `getLatestVersion` to `getAllVersions`, changing the database query to fetch all versions instead of just the latest one.
Contribution
Archived Git activity for Muhammad Shoaib on sc-auth.
Contribution
Archived Git activity for Reza Rosli on sc-auth.
Contribution
Archived Git activity for Muhammad Shoaib on sc-files.
Contribution
Archived Git activity for Muhammad Shoaib on sc-forms.
Contribution
Archived Git activity for Reza Rosli on sc-forms.
Contribution
Archived Git activity for Reza Rosli on sc-rollups.
Contribution
Archived Git activity for Muhammad Shoaib on sc-twilio.
Contribution
Archived Git activity for Reza Rosli on sc-twilio.
Contribution
Archived Git activity for Lim Shi Yek on smart-alert-es.
Contribution
Updated dependencies, including `@elastic/elasticsearch`, and upgraded the Node.js runtime specified in `serverless.yml` to `nodejs12.x`.
Contribution
Updated Elasticsearch client configuration to fetch credentials using AWS Secrets Manager via a new helper module, shifting away from direct environment variable reliance.
Contribution
Adjusted the search query so source type and import status filters match exact values.
Contribution
Built the initial ingestion and query scaffold and separated lead-source indexing queues by deployment stage.
Contribution
Added a query filter that uses the project IDs supplied with the manager’s permissions.
Contribution
Made the query check CandyBase for current project data and refresh stale lead-source index entries.
Contribution
Archived Git activity for Ele Elyiana on SugarRush library.
Contribution
Archived Git activity for Reza Rosli on sugarrush-main-library-layer.
Contribution
Refined user data retrieval using comprehensive JOINs in `candyBase.js` and implemented JWT validation in `handler.js` and `helper.js`.
Contribution
Simplified database initialization in `candyBase.js` by removing explicit `writerDb` handling and updating `serverless.yml` accordingly.
Contribution
Archived Git activity for Lim Shi Yek on usernotifications.
Contribution
Archived Git activity for Muhammad Anwaar on usernotifications.
Contribution
Archived Git activity for Muhammad Shoaib on usernotifications.
Contribution
Notification delivery logic was updated to use the new `Presence-newMsg` endpoint instead of the deprecated `Presence-sendMessage` mechanism.
Engineering
SalesCandy configured Renovate to propose dependency updates across its repositories.
Engineering
How SalesCandy coordinated routing hours, salesperson availability, assignment, and the records that explained each decision.
Engineering
Three architecture diagrams from AWS Activate 2021 show how SalesCandy moved from a shared server stack to separate managed services.
Engineering
CandySync declared its retry queues and linked them to Lambda consumers in the webhook service.
Engineering
SalesCandy used stage names to select AWS resources and used GitLab CI to deploy CandyNumber to development.
Engineering
CandyNumber declared the HTTP endpoint that handed incoming Twilio voice requests to Lambda.
Engineering
SugarRush published common code and Node.js dependencies as a versioned Lambda layer.
Engineering
SalesCandy used a Serverless Framework plugin to describe the AppSync API for its admin application.
Engineering
SalesCandy used an hourly trigger and separate queues for rollups, PDF generation, and email.
Engineering
How SalesCandy used service configuration to deploy AWS Lambda functions, connect event sources, and manage infrastructure.
Engineering
How a central upload service used signed S3 uploads and read the result of a Lambda antivirus scan.
Engineering
Creating a customer account could start a workflow that set up tenant resources and triggered onboarding tasks.
Engineering
Connects SalesCandy’s lead intake and messaging services to phone calls and conversations.
Engineering
An S3 upload event starts an antivirus scan that can block access to an infected file and alert responders.
Engineering
Use the language and rules of the business to shape software models and boundaries.
Engineering
Maintains search indexes derived from SalesCandy lead data.
Engineering
Let systems react to meaningful changes as they happen.
Engineering
Sends push messages to devices from the Presence service.
Engineering
Automates linting, tests, and builds for the manager portal.
Engineering
Keep business rules independent of the interfaces and services that connect them to the outside world.
Workflow
A reconstruction of capture, repeat enquiries, assignment, follow-up, conversion, and CRM synchronization in SalesCandy v3.
Engineering
Runs SalesCandy’s JavaScript backend handlers and shared libraries.
Engineering
Keeps application presence state available to SalesCandy’s routing services.
Engineering
Exposes HTTP routes that invoke SalesCandy functions.
Product
How SalesCandy kept unattended enquiries moving between available salespeople.
Workflow
How the salesperson’s app and manager portal supported the work after assignment.
Engineering
How independent service releases and shared notes worked together at SalesCandy.
Repository
How SalesCandy used a simulator to explore why lead distribution felt uneven and what choosing a routing policy could change.
Repository
A February 2022 change gives a worked example its own directory and leaves room for future samples.
Repository
An October 2022 fix makes a small but consequential part of the webhook contract visible in Git.
Engineering
Keep the product’s existing capabilities while replacing the system underneath.
Engineering
Divide a system by responsibility so teams can change and release services with less coordination.
Engineering
Keep operations lean by matching serverless compute to when work arrives.
Engineering
Use a live availability signal to help decide who should get the next enquiry.
Engineering
Use different storage systems when the data and access patterns call for them.
Engineering
Treat the meaning of an outbound event as part of the interface customers depend on.
Product
What the public listing shows about how customers could discover and try SalesCandy.
Product
A June 2021 conversation about enterprise growth, predictive routing, remote work, and why SalesCandy chose serverless.
People
SalesCandy’s co-founder and chief growth officer during its Microsoft for Startups interview.
People
SalesCandy’s co-founder and CEO in its 2019 interview with The Digital Enterprise.
Workflow
A narrated scenario traces an enquiry from a website to a salesperson’s phone and the manager’s portal.
People
SalesCandy’s Head of Customer Success.
Workflow
Marketplace screenshots show how salespeople logged follow-up and how managers saw the resulting activity.