Log and encode web links on a schedule

Recipe ToolsMarketingDeveloper Tool

What it does

When a scheduled time arrives, this automation runs Ruby code to encode a web link. The encoded link is logged to the job report for verification and downstream use.

Who it's for

Engineering teams who need to encode web links on a recurring schedule for API calls or data processing.

How teams use this

Encode links for API integration

Run the Ruby encoding on a schedule so links are ready for downstream API calls that require encoded parameters. The job report shows each encoded result for verification.

Prepare links for webhook payloads

Encode links at a set time before they are sent in webhook payloads to external systems. The log confirms encoding happened and the link is safe to transmit.

Batch encode a list of links

Modify the Ruby code to include a loop that processes multiple links from a data source and encodes each one. The job report logs all results so you can export them for use elsewhere.

How it works

  1. Run on a specified interval. This automation starts at the scheduled time you set, such as daily, weekly, or at a specific hour.
  2. Execute Ruby code to encode link. Workato Custom Code runs custom Ruby code that takes a link string and encodes it for safe use in API requests or web calls.
  3. Log the encoded result. Write the encoded link to the job report so you can verify the output and troubleshoot if needed.