This message was deleted.
# questions
b
This message was deleted.
s
As in send a webhook with the Airtable record ID included? You should be able to do it via Zapier, I think (but not tested yet!)
e
@sticky-area-45739 I actually made a "copy this record" function yesterday using this 🙂 Quite proud of myself! This one is relatively simple as the record ID is already known on Airtable's side. But what I'm after is sending the user's record ID when they click a record (let's call it an event).
s
Ahhh, as in the ID of the current logged in user? If that's the question I don't believe it's currently possible - there's a related Canny post here about tracking user activity, if you wanted to add more context that would be helpful. (Btw, if you were up for sharing how you made the "copy this record" button that would be awesome)
e
Sure thing. Might do this in a few posts so the messages make more sense with the images. First step was to make a webhook on Make, and stick its link in an Airtable formula field with the Record ID function.
Next thing is to make an automation so that the formula fields populates a specific URL field with the webhook URL + record ID when a record is created. The webhook URL field gets displayed as a button in Stacker.
Then I used the below workflow in Make, which: • Receives the record ID when the button is pressed in Stacker • Finds that specific record back in Airtable • Then uses the array aggregator to select which specific fields to copy (in this case, it's all the non-automated fields which users can see and edit in my Stacker app) • Then creates a new record in Airtable, mapping/copying the array data exactly. • Then refreshes the page in the Stacker app for the user, so that they can see there's been a response.
Notes: • As the button is made by an automation after the creation of the record, users can't actually use it for up to 15 minutes due to Stacker's data refresh rate. • It's the same with any records they copy - they go straight into Airtable, but won't appear in Stacker for up to 15 minutes. • I wasn't able to figure out how to copy attachments, nor could I exactly figure out how to copy checkbox fields or single selects - so I either changed them to text values (single line, rich text or linked records), or created what I call functional or "admin" fields in Airtable which populate with text via an automation when my users fill out the "actual" single select/checkbox fields. I mapped these in the Make workflow, then have some more automations in Airtable to fill out the "actual" values from the admin fields.
So, not necessarily pretty - although it'd be much better if that immediate data refresh gets implemented 😉 - but it does work.
And this is what my users will see when I enable the button (apologies, we're a very purple charity)
💜 1
s
That's really awesome @echoing-shampoo-208! I'm going to post a link in #C01CH3HCZR9 as others might be interested.
👍 1