I have automated an email going out each week with a bunch of information targeting cyclists. At the end of my message, i embedded a form to subscribe, so i collect email and first name and send this to a webhook i created in another scenario. 2 issues:
when i subscribe from an email received in gmail, i can pass the data to the webhook, and i can see username and email
however if i subscribe from an email received in applemail, the bundle is empty, no data is received. Not sure why the difference
the webhook can set redetermine the data structure when i run this feature, but the next call, even with the WH turned on, it does not get the data. The only way i can get the data is by clicking run ONCE and then it does collect from gmail only and pass and register the data in my google sheet, but then it stops listening. Error i get is nothing is listening to this webhook
here is the email I use to collect the information in the email I send:
Your Weather Report
/* Style for the subscribe button */
input[type="submit"] {
padding: 12px 24px; /* Increase padding to make the button larger */
font-size: 18px; /* Increase font size for better visibility */
background-color: #1e90ff; /* Deep blue color */
color: #fff; /* Text color */
border: none; /* Remove border */
border-radius: 5px; /* Rounded corners */
}
/* Hover effect for the button */
input[type="submit"]:hover {
background-color: #0054b4; /* Darker blue on hover */
}
</style>
{{24.`0`}}, my dear friend cyclist,
Here is your Weather Report for this Cycling Weekend:
<!-- Include your weather report data here -->
<p>{{5.text}}</p>
<p>If you want more details about the conditions at the airport, follow this link:</p>
<p><a href="https://www.hhblbikelane.com/services-aqi/">Weather Details</a></p>
<p>Happy Cycling as always!</p>
<img src="https://vcards.collin.cc/BC/AI%20Logo%20Background%20Removed.png" alt="SafeComs Logo">
<p>Best regards,</p>
<p>Dr. YouSafe,<br>Your happy AI companion.</p>
<!-- Subscription Form -->
<h1>Subscribe to Our Newsletter</h1>
<p>Stay updated with our latest news and offers.</p>
<form action="https://hook.eu1.make.com/b3tjoygze9trn93s2pf7k453pzpv232p" method="POST">
<label for="user_name">Your Name:</label>
<input type="text" name="user_name" id="user_name" placeholder="Your Name" required><br><br>
<label for="user_email">Your Email:</label>
<input type="email" name="user_email" id="user_email" placeholder="Your Email" required><br><br>
<!-- Styled subscribe button -->
<input type="submit" value="Subscribe">
</form>
maybe i need to define the data structure myself for the webhook but this is beyond my paygrade…
does anyone know if this idea of collecting from an email is ok in Make
is there a reason why a webhook would not be listening all the time, only when run once?
Please share screenshots of 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 mappings and settings. At the bottom of the scenario editor, you can click on the three dots to find the Export Blueprint menu item.
(Note: Exporting your scenario will not include private information or keys to your connections)
Please provide the output bundles of the modules by running the scenario, then click the white speech bubble on the top-right of each module, save the bundle contents in your text editor as a bundle.txt file, and upload it here into this discussion thread.
Providing the 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!
It seems like you’re facing a couple of issues with your email automation and webhook setup. Let’s address each one:
1. Data not received from Apple Mail:
Apple Mail might be handling the form or script differently. You should inspect the HTML source of the email in both Gmail and Apple Mail to see if there are any differences in how the form is being rendered.
Additionally, some email clients have security features that may prevent certain types of scripting or form submissions. Ensure that Apple Mail is not blocking the form submission due to security restrictions.
2. Webhook not consistently listening:
Your webhook might not be consistently receiving data. This issue could be related to the webhook service you’re using. Some webhook services have limitations on the number of concurrent requests, or they might have restrictions on the types of requests they accept.
Check the following Things:
Webhook Configuration: Ensure that your webhook is configured to handle POST requests and is set up to accept data in the format you are sending.
Concurrency Limits: Check if your webhook service has any limits on the number of concurrent requests. If you exceed these limits, it may stop accepting new requests until the existing ones are processed.
Logs and Error Messages: Review the logs or error messages provided by your webhook service. It might give you insights into why the webhook is not consistently processing requests.
Webhook Health: Verify the health of your webhook service. It might be worth checking with the webhook service provider or community forums for any reported issues.
3. Defining Data Structure:
It’s a good practice to define the data structure for your webhook if your service allows it. This ensures that your webhook can consistently handle the incoming data. If you can define the data structure, it might help in resolving any inconsistencies.
If you continue to face issues, reaching out to the support or community forums of the webhook service you are using can provide more specific assistance.
Remember that the specifics might vary based on the webhook service you’re using, so be sure to refer to the documentation of the service for more detailed information.
thanks a lot for these explanations.
In fact I might be approaching the problem the wrong way.
Basically what i want is to send a newsletter, which is already working quite well, in which i collect lost of information about weather, pollution, winds etc… and use GPT to compile a text about what next weekend.
then i wanted to add a sign up form at the bottom of my email for people to add their friends to subscribe, maybe i should not have use to embed the forms in the mail and send the reply to the webhook in my make application?
how would you suggest to capture this data from a mail send to people? Would a link to a subscription form work better? I could use typeform and send people there to subscribe… I will try this instead of the mail embedding.
b
I have abandonned the idea to use embedded reply in my email, instead i have a link to a google form and they reply on the google form. I have a mechanism to check for update on google form and capture their answer.
What a great job you, @samliew, and @ThakurHemansh did while dealing with this situation! I truly admire that you were able to stop for a second and think over the whole concept of your idea:
Thank you very much for coming back here and sharing the final solution. We appreciate you keeping the community healthy and neat for others.