We now save the external id of outgoing 360dialog WhatsApp messages to the message record in the database. This allows us to:
a) Send out a previous personalized message that the contributor might have forgotten to ask for, but is still interested in responding to, and
b) Support a reply_to feature where the contributor might quote reply an older message and we can properly assign the incoming message to the correct request instead of trying to infer it solely based on the latest message they received and relying on the user to move the message to the correct request if it has been incorrectly assigned.
What changed in this PR and Why
We now save the external id of outgoing 360dialog WhatsApp messages to the message record in the database. This allows us to:
a) Send out a previous personalized message that the contributor might have forgotten to ask for, but is still interested in responding to, and b) Support a reply_to feature where the contributor might quote reply an older message and we can properly assign the incoming message to the correct request instead of trying to infer it solely based on the latest message they received and relying on the user to move the message to the correct request if it has been incorrectly assigned.
Closes #2031