ajency / cashflow-issue-tracker

Issue Tracker for issues
0 stars 1 forks source link

TASK - Moving ExpenseBuddy to Production with Twilio #578

Closed nutank closed 4 years ago

nutank commented 4 years ago

A. Get a dedicated number for Whatsapp from Twilio - This is what we have now as per the mail thread above +12025191324

B. Handle the messages. As discussed previously we have 2 types of messages:

Criteria the template should meet in order for them to get approved:

Reference doc - https://docs.google.com/document/d/1Ygoi19BB9o59m7oX1gEMfpn7YF7yIY7IzFc8T_dMrHc/edit#

nutank commented 4 years ago

Production link - https://wa.me/12025191324?text=hi

nutank commented 4 years ago

@robiulpro we will need env variable to store whatsapp_twilio_environment = sandbox / production And 2 new columns in _whatsapp_company_twilioaccounts table - "sandbox_sender_phone" , "production_sender_phone"

The code for sending whatsapp messages should take sender phone basis the above

nutank commented 4 years ago

For current account: sandbox_sender_phone = +14155238886

production_sender_phone = +12025191324

nutank commented 4 years ago

Related whatsapp related ticket #707

nutank commented 4 years ago

Final templates for Greeting message is as follows:

Great! Your expense was successfully added to Toppeq \u2705
{{1}}

Here's a summary:

*Description*: {{2}}
*Amount*: {{3}}
*Payment Status*: {{4}}
*Due Date*: {{5}}
*Recurring*: {{6}}
*Frequency*: {{7}}
*Category*: {{8}}
*Tags*: {{9}}
*Users Notified*: {{10}}
Great! Your expense was successfully added to Toppeq \u2705
{{1}}

Here's a summary:

*Description*: {{2}}
*Amount*: {{3}}
*Payment Status*: {{4}}
*Payment Date*: {{5}}
*Recurring*: {{6}}
*Frequency*: {{7}}
*Category*: {{8}}
*Tags*: {{9}}
*Users Notified*: {{10}}
Great! Your expense was successfully added to Toppeq \u2705
{{1}}

Here's a summary:

*Description*: {{2}}
*Amount*: {{3}}
*Payment Status*: {{4}}
*Due Date*: {{5}}
*Recurring*: {{6}}
*Category*: {{7}}
*Tags*: {{8}}
*Users Notified*: {{9}}
Great! Your expense was successfully added to Toppeq \u2705
{{1}}

Here's a summary:

*Description*: {{2}}
*Amount*: {{3}}
*Payment Status*: {{4}}
*Payment Date*: {{5}}
*Recurring*: {{6}}
*Category*: {{7}}
*Tags*: {{8}}
*Users Notified*: {{9}}
nutank commented 4 years ago
{{1}}

Your {{2}} updates for the Toppeq cashflow projections are below 💸 :

*Gross Runway* _(All values less than {{3}} months)_
{{4}}

*Net Runway* _(All values less than {{5}} months)_
{{6}}

*Working Capital Ratio* _(Ideal range: {{7}} to {{8}})_
{{9}}

*Quick Ratio* _(Ideal range: {{10}} to {{11}})_
{{12}}
nutank commented 4 years ago
{{1}}

Your {{2}} updates for the Toppeq cashflow projections are below 💸 :

*Gross Runway* _(All values less than {{3}} months)_
{{4}}

*Net Runway* _(All values less than {{5}} months)_
{{6}}

*Working Capital Ratio* _(Ideal range: {{7}} to {{8}})_
{{9}}
nutank commented 4 years ago
{{1}}

Your {{2}} updates for the Toppeq cashflow projections are below 💸 :

*Gross Runway* _(All values less than {{3}} months)_
{{4}}

*Net Runway* _(All values less than {{5}} months)_
{{6}}

*Quick Ratio* _(Ideal range: {{10}} to {{11}})_
{{12}}
nutank commented 4 years ago
{{1}}

Your {{2}} updates for the Toppeq cashflow projections are below 💸 :

*Net Runway* _(All values less than {{5}} months)_
{{6}}

*Working Capital Ratio* _(Ideal range: {{7}} to {{8}})_
{{9}}

*Quick Ratio* _(Ideal range: {{10}} to {{11}})_
{{12}}
nutank commented 4 years ago
{{1}}

Your {{2}} updates for the Toppeq cashflow projections are below 💸 :

*Gross Runway* _(All values less than {{3}} months)_
{{4}}

*Working Capital Ratio* _(Ideal range: {{7}} to {{8}})_
{{9}}

*Quick Ratio* _(Ideal range: {{10}} to {{11}})_
{{12}}
nutank commented 4 years ago
{{1}}

Your {{2}} updates for the Toppeq cashflow projections are below 💸 :

*Gross Runway* _(All values less than {{3}} months)_
{{4}}

*Net Runway* _(All values less than {{5}} months)_
{{6}}
nutank commented 4 years ago

UAT moved to production.