I have an embedded Airtable view in a website that acts as a directory with contact information. I'd like to keep track of how many times each person listed in the directory is sought after and add a counter to that person's record.
I thought about doing this by hiding the email address field of each contact behind a button, and when the button is clicked, doing two things:
- Revealing the email address of the contact.
- Incrementing a counter field on that record to show that another person was interested in this contact.
I wrote a script to do this, but soon ran into the fact that you can't have a button running scripts in the embedded view and it is hence greyed out.
Is there anything I can do to solve this problem, regardless of if buttons is the right solution?
I've done this by hiding the email in the gallery or shared view and then setting up the button to link to a short connection form that triggers an automation that sends an intro email to both parties. As long as you have a linked record field in the form table that links back to the contact you can tally how many requests the person receives.