When you add a new row, presumably from a form, what you can do is:
- Pre-construct a “full URL” template column.
Say https://domain.com/dl/blog/s/1d0342/r/4QOWSGpgRa-GlIwIvb7rUQ
for example, will have a fixed part: https://domain.com/dl/blog/s/1d0342/r/
. The rest is the rowID of the newly created row. You can have a template like:
https://domain.com/dl/blog/s/1d0342/r/{R}
And replace {R} by the rowID.
-
Create a new column to store the Shortened URL.
-
In the on-submit action of the form, use a Short.io integration.
Domain: Your custom domain, make sure you also configure it in Short.io already
Original URL: The template above
Path: This will be the slug you have to pre-decide. Say in the form, you will have a field to enter this. It will look like blog/s/this-is-a-blog. I don’t think it would carry the dl over. I have done sth like that before.
Title: Also a field you can have in the form.
Other fields are optional.
Then point the result to the “Shortened URL” column you created in the previous step.