Welcome to the Make community!
Yes, that is possible. You’ll need a Groq module to extract details from the HTML email content:
Output
This is just an example. Your final solution may or may not look like this depending on your requirements.
Module Export - quick import into your scenario
You can copy and paste this module export into your scenario. This will import the modules (with fields/settings/filters) shown in my screenshots above.
-
Move your mouse over the line of code below. Copy the JSON by clicking the copy button on the right of the code, which looks like this:
-
Enter your scenario editor. Press ESC to close any dialogs. Press CTRLV (paste keyboard shortcut for Windows) to paste directly in the editor.
-
Click on each imported module and re-save it for validation. There may be some errors prompting you to remap some variables and connections.
JSON module export — paste this directly in your scenario
{"subflows":[{"flow":[{"id":282,"module":"groq:createJSONChatCompletion","version":1,"parameters":{"__IMTCONN__":2370769},"mapper":{"model":"llama-3.1-70b-versatile","systemPrompt":"You will receive event details and extract them into JSON.\n\nThe JSON should look like:\n\n{\n \"title\": \"My Meeting\",\n \"summary\": \"You have been invited to attend a meeting on Zoom\",\n \"url\": \"https://zoom.us/abcdefg\",\n \"formatted_start_date\": \"26/08/2024 10:55pm\",\n \"formatted_end_date\": \"26/08/2024 11:55pm\",\n \"time_range\": \"10:55pm - 11:55pm\",\n \"start_date_ms\": \"1724640951812\",\n \"end_date_ms\": \"1724644551812\",\n \"guest_email\": \"test@example.com\"\n}","userMessage":"{{stripHTML(281.value)}}"},"metadata":{"designer":{"x":2611,"y":-1060},"parameters":[{"name":"__IMTCONN__","type":"account:groq","label":"Connection","required":true}]}}]}],"metadata":{"version":1}}
Note: Did you know you can reduce the size of blueprints and module export code like the above, using the Make Blueprint Scrubber?
Hope this helps! Let me know if there are any further questions or issues.
— @samliew
P.S.: Did you know, the concepts of about 70% of questions asked on this forum are already covered in the Make Academy. Investing some effort into it will save you lots of time and frustration using Make later!