For a new contact the scenario prepares a link and sends a templated request email.
Automating Keap and Yourls takes no code: a ready-made scenario does the routine for you.
You can launch this Keap + Yourls integration in Scriptera: describe the task in plain words — the scenario is built, launched and monitored for you.