Can I trigger an AI Fields to refresh via automation?
Hi everyone,
Is there a way to ‘refresh’ all AI fields with a button linked to an automation?
Automations can do a “Generate text with AI” action, but this requires me to keep all the prompts inside the automation vs individual AI fields - as i’d like the option to rerun separately at times.
Thanks!
Page 1 / 1
@Cassy_Amelia You might be able to do this with the following setup, though I haven’t tried such a thing:
Create a “dummy” field that contains a single line text value.
Use this field as an input for each of your AI fields.
Have your automation fill this “dummy” field with some short, random value. You might need a simple script block to do so. Something like: output.set(“random”, Math.random().toString(36).substring(2, 10));
If it works, then the automation should fill the “dummy” field with 8 random characters. Upon seeing this, each AI field agent should react and “refresh.”
HTH,
Steve
Hey @Cassy_Amelia,
The approach mentioned by Steve above is probably what I would suggest doing as well. However, also do remember that automations themselves have Generate Text with AI actions.
@Mike_AutomaticN good call! I forgot about the Generate text with AI option, which would be easier for many to set up. Thanks for adding this to the discussion.
Hey @Stephen_Juth!!! I hate to do this, but how come you did not sign up to the Airtable Hackathon yet!? 👮🏼👮🏼👮🏼👮🏼
I’d love to have you onboard lol. Make sure to sign up!! I’ll be counting on it! 😂