Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Enable the use of Front and Signalwire for marketing messages #756

Open
wants to merge 4 commits into
base: main
Choose a base branch
from

Conversation

rgalanakis
Copy link
Member

Add support docs for Front setup


Sync Front contact lists

On a recurring job (FrontappListSync),
recreate Front lists from our contacts.

We do this nightly instead of trying to keep
things in sync in real-time since there are many ways
people can move around in lists (deleting, changing language, etc).


Update opt-in/out from Signalwire

Use webhookdb to look for messages,
update opt in/out preferences, and send response SMS messages.


Autosync Front from message prefs

  • Add per-channel opt-out fields onto message preferences
  • Update Front to add to/remove from per-channel marketing lists
    when these fields change.
  • Reorganize some other code.

- Add per-channel opt-out fields onto message preferences
- Update Front to add to/remove from per-channel marketing lists
  when these fields change.
- Reorganize some other code.
Use webhookdb to look for messages,
update opt in/out preferences, and send response SMS messages.
On a recurring job (FrontappListSync),
recreate Front lists from our contacts.

We do this nightly instead of trying to keep
things in sync in real-time since there are many ways
people can move around in lists (deleting, changing language, etc).
Copy link

codecov bot commented Jan 21, 2025

Codecov Report

Attention: Patch coverage is 98.74214% with 4 lines in your changes missing coverage. Please review.

Project coverage is 98.75%. Comparing base (b43ec38) to head (c37a800).

Files with missing lines Patch % Lines
lib/suma/signalwire.rb 57.14% 3 Missing ⚠️
...a/message/signalwire_webhookdb_optout_processor.rb 96.96% 1 Missing ⚠️
Additional details and impacted files
@@           Coverage Diff            @@
##             main     #756    +/-   ##
========================================
  Coverage   98.75%   98.75%            
========================================
  Files         468      474     +6     
  Lines       21523    21814   +291     
========================================
+ Hits        21254    21542   +288     
- Misses        269      272     +3     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant