I would like to create an after insert hook, so that when a record has been added and saved, a QR code is generated, and saved to the "qr_code" field of the current record as an image (currently they are created and uploaded separately). The contents of the qr code would be https://xxxxxxxx.co.uk/index.php?tablename=Hoses&function=details&where_field=id&where_value=2 so that scanning it would bring the user to the page of the record. I've played around with some AI to try and create something, but before I mess about, I just want to know if it would actually be possible?