Extract Amazon URLs, expand them, change the affiliate tag, and post in another Telegram group

Simplify your Telegram group's Amazon link handling with just a few clicks.

  • Execute the task periodically
  • Extract the next new post in a public channel (public_channels → new_post)
  • Get URLs from text (btztextparser → get_urls)
  • Expand URL (site_inspector → expand_url)
  • Remove URLs from text (plugin_strings → remove_urls)
  • Change URL Get Parameters (site_inspector → update_get_parameters)
  • Send a message (telegrambot → send_message_photo)

Automate this task with 7 simple prompts

Copy and paste the following prompts into Botize's AI task editor

  1. 2

    Select the AI editing tool.

    AI Prompt Tool
  2. 3

    Set up the automation so it runs automatically at regular intervals.

    Copy and paste this prompt into the AI editing tool.

    Create a trigger that makes this automation run once every hour. ⤵

    AI Prompt Tool

    Click the 'Apply this task' button to confirm.

  3. 4

    Get new posts from a specific public Telegram channel for processing.

    Copy and paste this prompt into the AI editing tool.

    Add a step to check a public Telegram channel and grab the next unread post. ⤵

    AI Prompt Tool

    Click the 'Apply this task' button to confirm.

  4. 5

    Identify and pull out any Amazon links from the content of that Telegram post.

    Copy and paste this prompt into the AI editing tool.

    Extract all URLs from the post’s text and buttons, but only keep those that come from Amazon. ⤵

    AI Prompt Tool

    Click the 'Apply this task' button to confirm.

  5. 6

    Make sure each Amazon URL is complete and not a shortened or redirected link.

    Copy and paste this prompt into the AI editing tool.

    Expand each Amazon URL found, so we use the full and final link rather than any short or redirect version. ⤵

    AI Prompt Tool

    Click the 'Apply this task' button to confirm.

  6. 7

    Remove any URLs from the original message, leaving only the regular text.

    Copy and paste this prompt into the AI editing tool.

    Strip all links from the post's text so you’re left with just the message content without any URLs. ⤵

    AI Prompt Tool

    Click the 'Apply this task' button to confirm.

  7. 8

    Replace the affiliate tag in the Amazon URL so it reflects the correct tracking information.

    Copy and paste this prompt into the AI editing tool.

    Edit the expanded Amazon URL so that the 'tag' parameter is set to 'test2,' updating any existing affiliate info. ⤵

    AI Prompt Tool

    Click the 'Apply this task' button to confirm.

  8. 9

    Post the cleaned-up message and the updated Amazon link to a target Telegram group or channel.

    Copy and paste this prompt into the AI editing tool.

    Send a new message to the specified Telegram chat, including the message text with no links and the updated Amazon URL. If there’s an image, include that as well. ⤵

    AI Prompt Tool

    Click the 'Apply this task' button to confirm.

  9. 10

    Your automation is ready to use. Click the 'Save changes' button.

    Save changes

Effortlessly Manage Amazon Links

This tool grabs Amazon links from your Telegram group, tweaks them for affiliate purposes, and posts them in another group without fuss.

Manual Botize
Reading and extracting URLs 10 minutes 0 Minutes
Expanding and editing URLs 15 minutes 0 Minutes
Posting in another group 5 minutes 0 Minutes
Total 30 minutes 0 Minutes

You've landed at the right place for seamless Amazon URL management.


Flip the Affiliate Tag

Change affiliate tags on Amazon URLs without lifting a finger.

Save Time

Automate repetitive tasks so you can focus on what matters.

Increase Earnings

Ensure your affiliate tags are correctly set to maximize revenue.

Seamless Workflow

Integrate smoothly into your existing Telegram channels.


Broadcast to Multiple Groups

Post the same updated links across multiple Telegram groups automatically.

👍

⌾︎ You manage multiple Telegram groups and handle affiliate links.

⌾︎ Automating links for increased accuracy sounds appealing.

👎

âś• You only manage a single or no Telegram group.

âś• Affiliate marketing isn't your focus.


âś“ Choose the frequency of URL checks.

âś“ Set diverse affiliate tags for different groups.

âś“ Control which Telegram groups receive the processed URLs.




This automation retrieves posts from a public Telegram channel, extracts Amazon URLs, expands them, replaces the affiliate tag, and publishes the result in another Telegram group or channel.

Related automations