Webhook Authentication

What are you trying to achieve?

I’m trying to create my first scenario from a Webhook and just add the data to a row in a Google Sheet. When I set up the webhook in my source app, I added the Make url. The source app has basic authentication with a User (text) and Password (text) fields I created and so I created these two conditions in a filter after the Webhook in the scenario. I get a successful response to the webhook element, but then it fails on my Google Sheet that is after the filter. The error says the bundle did not pass the filter. In the file inspector, the first condition always has a red zero with a diagnal cross. In the webhook, I only see the variables in the data structure and no where do I see the use or password fields that I can select for the filter to add as conditions. Any ideas how to properly configure the filter to authenticate with the source app?

Welcome to the Make community!

To allow us 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 Modules

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!

Here you go. Appreciate anyone that can help.
output bundle.txt (214 Bytes)
blueprint.json (20.9 KB)



To get the updated webhook payload with the password variable coming through (and recognised), you need to go here and click “Redetermine Data Structure”.

Screenshot_2024-08-09_090829

Then, immediately send a new request from your source app together with the password (and other data).

If the password variable is detected, then you can map it in your filter.

Alternatively, you can manually try typing this in your filter (if you are sure that the password is coming through):

{{ 1.password }}

Hope this helps! Let me know if there are any further questions or issues.

@samliew

2 Likes

Thanks so much @samliew. I don’t still understand why I needed a filter because I didn’t include a user name or password to authenticate my webhook. But, I did copy all the variables in the format coming through and just used a condition of exists. You may or may not know this, but I had to use the generated format/variables that came through a test webhook in the app. The actual data I expect may be totally different based on what I’m subscribing to. Guess I have to see how actual data comes in. If it gets blocked, I may have to regenerate and filter again I supposed.

1 Like