[P2PMoney] Remove airtable rows automatically on submission when the code isn't found in the Intake base
mjmaurer opened this issue · comments
Could we have a look-ahead / drop down and not allow non-valid codes to begin with? is this possible?
Which tables/columns should I be looking at?
Since payment requests and delivery requests are in different bases, I don't think we could make either a drop-down or a validation in the form. Seems like linking between bases isn't supported: https://support.airtable.com/hc/en-us/articles/223299927-Can-I-link-between-different-Bases-
So, I think we would have to rely on something in our own app to look up if the request code matches up. However, I think it might be confusing for a payment request to simply not show up... if the request doesn't match, should we have the bot post an error message in the reimbursement channel? Or, if the requestor's Slack name is available, PM them?
So, I think we would have to rely on something in our own app to look up if the request code matches up. However, I think it might be confusing for a payment request to simply not show up... if the request doesn't match, should we have the bot post an error message in the reimbursement channel? Or, if the requestor's Slack name is available, PM them?
I should have added more context here! We currently detect if a request doesnt exist and will post a notification in slack to that effect.
This issue is just adding a PaymentRequest row deletion to the codeNotFound logic.