Click accept button in gmail

What are you trying to achieve?

Hi Make.com Community,

I’m trying to set up an automation in Make.com where I can automatically accept orders from a specific vendor (Clear Capital) via email. Here’s what I need help with:

Trigger: I want the scenario to activate when I receive an email from Clear Capital.

Condition: The scenario should check if the email contains a fee amount of $20 or higher.

Action: If the fee is $20 or more, I want to extract the URL from the email that is linked to the “Accept Order” button and automatically click it.

So far, I’ve managed to set up the email trigger, but I’m stuck on how to parse the URL from the email body and then perform a click action on that URL.

Could anyone guide me through the steps or suggest the best way to achieve this? Detailed instructions or any relevant examples would be greatly appreciated!

Thanks in advance!

Welcome to the Make community!

To allow others to assist you with your scenario, please provide the following:

1. Relevant Screenshots

Please share screenshots of your scenario, any error messages, relevant module fields, and filters in question? It would really help other community members to see what you’re looking at.

You can upload images here using the Upload icon in the text editor:

2. Scenario Blueprint

Please export the scenario blueprint file to allow others to view the mapped variables in the module fields. At the bottom of the scenario editor, you can click on the three dots to find the Export Blueprint menu item.

3. Output Bundles of Trigger Module

Please provide the output bundles of the modules by running the scenario (or get from the scenario History tab), then click the white speech bubble on the top-right of each module and select “Download input/output bundles”.

A. Upload as Text File

Save each bundle contents in your text editor as a bundle.txt file, and upload it here into this discussion thread.

B. Insert as Formatted Code Block

If you are unable to upload files on this forum, alternatively you can paste the formatted bundles.
These are the two ways to format text so that it won’t be modified by the forum:

  • Method 1: Type code block manually

    Add three backticks ``` before and after the content/bundle, like this:

    ```
    content goes here
    ```

  • Method 2. Highlight and click the format button in the editor

Providing the input/output bundles will allow others to replicate what is going on in the scenario even if they do not use the external service.

Following these steps will allow others to assist you here. Thanks!