Back to candysync-webhook

SalesCandy Git archive

candysync-webhook

Sends lead and lead-log updates to external webhook subscribers.

README

This repository sends updates for Leads and Lead Logs from CandyStream to external webhook subscribers. It formats data into a structured JSON payload for consumption by connected services.

The system accepts event data (new, modify, delete) for leads and logs. It outputs a standardized webhook payload containing metadata like timestamps, status codes, and error details for tracking.

Selected files and folders

  • README.md
  • app
  • package.json
  • serverless.yml
  • tests

Reconstructed issues

Summaries inferred from the archive. Original issue records are unavailable here.

Missing eventAt for deleted records

Previously, delete events for leads and lead logs were missing the `eventAt` timestamp in the payload. This change ensures that the event time is correctly recorded for all deletion events, improving data completeness for subscribers.

bb89ece2000e

Project filter not reflected in listings

The ability to filter listings by project was implemented, but the necessary updates to Appsync were required for the front-end to correctly receive and utilize the `projectFilter` parameter.

ceaf72f16c4b

Removed blocker for settings editing

A restriction preventing users from editing settings was removed. This was safe to do because the underlying bug within the Manager Portal that caused the issue has since been resolved.

4e4e367d9df9

Selected commits

  1. Add projectFilter to listing results (but Appsync needs to be updated for it to be received by front-end)

    Reza Rosli ·

    ceaf72f16c4b96906b68c68aced5bedc4f13b899

  2. Remove blocker to edit settings because the bug in Manager Portal is fixed

    Reza Rosli ·

    4e4e367d9df90db5f99263a080b1bd58376e7b5e

  3. Update dependencies

    Reza Rosli ·

    584f200b1eae6b363e97e027f2d73955afc83bdb

  4. Refactor

    Reza Rosli ·

    f8c213c00bf36e50fdf51908bb9df530fa1a9341

  5. Fix missing eventAt field for DELETE events

    Reza Rosli ·

    bb89ece2000eceff95af959f5580a2712b8c34b8

  6. Rename functions to match general conventions

    Reza Rosli ·

    964ee01de7d449d5b16e041b84513729ef78b2b6

  7. Refactoring

    Reza Rosli ·

    6e5fb9a2843522490d248269b6e16864c52603c0

  8. Security: obfuscate sensitive data sent to front-end

    Reza Rosli ·

    ff4fbb0b71739cdaee3d8eacf3575f3072c916c8

  9. Housekeeping

    Reza Rosli ·

    d9d9225407ae9dd9fcc4a555d33057f418bf5da0

  10. Security: obfuscate sensitive data being sent to front-end

    Reza Rosli ·

    d0477915e70e0dc77663d1ae58dc2eb81dbeaf30

  11. Refactoring

    Reza Rosli ·

    9dc43281f810bf39d73080c9d4b3d3a6905699db

  12. Disable updating of a webhook setting because of a serious front-end bug with no workaround

    Reza Rosli ·

    9835256980aa4e9bf670f9ee0b96854b70bf38ed

  13. Housekeeping

    Reza Rosli ·

    49d2f44996de29877f26383c2d863f53049e651a

  14. Housekeeping

    Reza Rosli ·

    2bde96511ff9919931cc50f88e351714a1097914

  15. Fix permission error and optimise secrets retrieval

    Reza Rosli ·

    bc434a80769bc0108cd0e2718cf2347798540635

  16. Remove unnecessary env var

    Reza Rosli ·

    3d3a0ed0a73e96554e4cdfce46ca47464f537aae

  17. Use secrets manager and simplify serverless.yml

    Reza Rosli ·

    9399782be7cfc9e3c3e40eb5db99a159115ac555

  18. Sanitize endpoint url, encrypt auth data, and encrypt database credentials

    Reza Rosli ·

    5833148ed7641add23b0872b98f05d9e33cb2ccb

  19. Put the transmitter lambda outside the VPC so that it will not be restricted by private DNS

    Reza Rosli ·

    fbdcad9342dd4cc2295ddb7a7c45abff23b7c507

  20. Add timeout limits

    Reza Rosli ·

    f95be0c53257369c9eeecc881457fa5c970442d7

  21. The SQL query that creates the `candyStreamWebhookLogs` table in CandyBase

    Reza Rosli ·

    e5758aedb769dc0094fca2a446607f82a88cbbb3

  22. Don't track .env files

    Reza Rosli ·

    934c9628c7da44024c1e0718a7a171411935c574

  23. Initial commit - forked from crm-webhook project

    Reza Rosli ·

    05998c9dc69fedb7e329194091cf323e5a501ea8