Create marketing email via api issue

I’d like to share my overall objective and see if you can assist me.

I want to create a sequence (or a workflow if sequence isn’t possible) that, upon enrollment of a specific contact, triggers the automatic sending of a transactional email (or a marketing email if a transactional one isn’t possible). The email should contain dynamic content, such as the contact name and a link that varies from one contact to another.

I intend to achieve all of this exclusively through the API, involving the following steps:

  1. Creation of an email template
  2. Creation of the email itself
  3. Creation of the sequence or workflow

I appreciate your assistance!