# Glide to Make.com Email Integration

**URL:** <https://community.glideapps.com/t/glide-to-make-com-email-integration/72080>\
**Category:** Ask for Help\
**Created:** [March 27, 2024, 8:28am UTC](https://community.glideapps.com/t/glide-to-make-com-email-integration/72080 "2024-03-27T08:28:18Z")\
**Posts on this page:** 15\
**Page:** 1

<div class="post-metadata">

**Author:** ![Jerald101](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/jerald101/32/72828_2.png) [@Jerald101](https://community.glideapps.com/u/Jerald101)\
**Post date:** [March 27, 2024, 8:28am UTC](https://community.glideapps.com/t/glide-to-make-com-email-integration/72080/1 "2024-03-27T08:28:18Z")

</div>

Hey Guys, currently I am making a Glide application that needs to have an email notification feature that connects to Microsoft Outlook. So a brief explanation of my current implementation is that I have a form that has a message, file name, and multiple files.

 ![image](https://us1.discourse-cdn.com/flex002/uploads/glideapps/original/3X/c/e/cebc642531a48e4bc5b7ed2cbc6d92c4bc0081db.png)

Once the form is submitted, the action triggers a webhook connected to the [Make.com](http://Make.com) implementation.

**Glide Action Implementation**

 ![image](https://us1.discourse-cdn.com/flex002/uploads/glideapps/original/3X/9/5/950d7af252bd3e9867d9ccf0a10f1aad255d2d4e.png)

After the webhook is triggered, it then sends out the message, file name, and files. What I am trying to achieve is how to attach multiple files to the attachment field in the Microsoft Outlook module of [make.com](http://make.com).

An error stating that “Array of objects expected in parameter ‘attachments’.” seems to show. The Files received from Glide are of type array and I was wondering if there is a way to map through the different files that were uploaded in Glide.

 ![image](https://us1.discourse-cdn.com/flex002/uploads/glideapps/original/3X/7/f/7ff1df1f3bcbcad80c69d77c4315effc89b26c55.jpeg)

---

<div class="post-metadata">

**Author:** ![Darren\_Murphy](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/darren_murphy/32/47326_2.png) [@Darren\_Murphy](https://community.glideapps.com/u/Darren_Murphy)\
**Post date:** [March 27, 2024, 8:32am UTC](https://community.glideapps.com/t/glide-to-make-com-email-integration/72080/2 "2024-03-27T08:32:31Z")

</div>

You can use an Iterator module to process the items in the array one by one.  
But what you need to be aware of is that the array will contain links to the files rather than the actual files. If you want to send the actual files as attachments, you will need a separate step using a HTTP module to download each one.

---

<div class="post-metadata">

**Author:** ![Jerald101](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/jerald101/32/72828_2.png) [@Jerald101](https://community.glideapps.com/u/Jerald101)\
**Post date:** [March 27, 2024, 8:56am UTC](https://community.glideapps.com/t/glide-to-make-com-email-integration/72080/3 "2024-03-27T08:56:10Z")

</div>

Hey Darren,

Thank you for the reply. I tried placing an iterator in between my current implementation and it seems to create 3 separate emails. What I would like to do is that I would like to iterate through the 3 file links and place it on only one email.

 ![image](https://us1.discourse-cdn.com/flex002/uploads/glideapps/original/3X/d/1/d1fabcfea9895594888f97967b85ca2103c36c5a.jpeg)

---

<div class="post-metadata">

**Author:** ![Darren\_Murphy](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/darren_murphy/32/47326_2.png) [@Darren\_Murphy](https://community.glideapps.com/u/Darren_Murphy)\
**Post date:** [March 27, 2024, 9:01am UTC](https://community.glideapps.com/t/glide-to-make-com-email-integration/72080/4 "2024-03-27T09:01:01Z")

</div>

Use an aggregator module in between the Iterator and the Email module.

---

<div class="post-metadata">

**Author:** ![ThinhDinh](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/thinhdinh/32/49_2.png) [@ThinhDinh](https://community.glideapps.com/u/ThinhDinh)\
**Post date:** [March 27, 2024, 3:05pm UTC](https://community.glideapps.com/t/glide-to-make-com-email-integration/72080/5 "2024-03-27T15:05:28Z")

</div>

Here’s my setup from a while ago.

 ![image](https://us1.discourse-cdn.com/flex002/uploads/glideapps/original/3X/6/7/673ca69f6c159bbfea29cb3b61d9055ae37c964d.png)

- Iterator: Iterate through list of attachments
- HTTP: download file
- Aggregator looks like this.

 ![image](https://us1.discourse-cdn.com/flex002/uploads/glideapps/original/3X/1/6/1675ac4ddcad6a0c964b69ae172ea679e2fd860e.png)

- Email:

![image](https://us1.discourse-cdn.com/flex002/uploads/glideapps/original/3X/e/e/ee3cec01d4754a5240ef395b9ca2f0d72dcc8396.png)

---

<div class="post-metadata">

**Author:** ![Jerald101](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/jerald101/32/72828_2.png) [@Jerald101](https://community.glideapps.com/u/Jerald101)\
**Post date:** [April 2, 2024, 6:38am UTC](https://community.glideapps.com/t/glide-to-make-com-email-integration/72080/6 "2024-04-02T06:38:41Z")

</div>

Hi ThinhDinh,

I tried doing your setup and it worked! I was just wondering if there is a way to keep the original filename of the attachments.

**Actual Email**

 ![image](https://us1.discourse-cdn.com/flex002/uploads/glideapps/original/3X/7/3/738ef440752caf8d337f7f29e50edd4b54e5deea.png)

---

<div class="post-metadata">

**Author:** ![ThinhDinh](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/thinhdinh/32/49_2.png) [@ThinhDinh](https://community.glideapps.com/u/ThinhDinh)\
**Post date:** [April 3, 2024, 12:08am UTC](https://community.glideapps.com/t/glide-to-make-com-email-integration/72080/7 "2024-04-03T00:08:42Z")

</div>

![image](https://us1.discourse-cdn.com/flex002/uploads/glideapps/original/3X/5/c/5c493940c587ee39260b7d8cd53aaee450a9908a.png)

Does it not give you the “file name” option shown here?

---

<div class="post-metadata">

**Author:** ![Jerald101](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/jerald101/32/72828_2.png) [@Jerald101](https://community.glideapps.com/u/Jerald101)\
**Post date:** [April 3, 2024, 12:17am UTC](https://community.glideapps.com/t/glide-to-make-com-email-integration/72080/8 "2024-04-03T00:17:51Z")

</div>

There is a File Name, but for some reason, all the files are named “file” + their extension. Here is my current implementation:

**Iterator**

 ![image](https://us1.discourse-cdn.com/flex002/uploads/glideapps/original/3X/a/0/a07c5dfccabfaa4a53e119374ad8bd320cb7500a.jpeg)

**HTTP**

 ![image](https://us1.discourse-cdn.com/flex002/uploads/glideapps/original/3X/d/6/d62072ccd7b938ac368f5ec34e526f82c455cd98.jpeg)

**Array Aggregator**

 ![image](https://us1.discourse-cdn.com/flex002/uploads/glideapps/original/3X/0/c/0c651b0f148e1b19e54c7b1757f81bf56de6a1d7.jpeg)

**Outlook**

 ![image](https://us1.discourse-cdn.com/flex002/uploads/glideapps/original/3X/1/c/1c76eaffc6990645efbd2e319ea1b2495521ed8d.jpeg)

---

<div class="post-metadata">

**Author:** ![ThinhDinh](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/thinhdinh/32/49_2.png) [@ThinhDinh](https://community.glideapps.com/u/ThinhDinh)\
**Post date:** [April 3, 2024, 12:54am UTC](https://community.glideapps.com/t/glide-to-make-com-email-integration/72080/9 "2024-04-03T00:54:38Z")

</div>

Can you show me a sample of your files array. If Glide is sending it over as file.jpeg I doubt we can do anything with that, but I don’t think that’s the case.

---

<div class="post-metadata">

**Author:** ![Jerald101](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/jerald101/32/72828_2.png) [@Jerald101](https://community.glideapps.com/u/Jerald101)\
**Post date:** [April 3, 2024, 1:01am UTC](https://community.glideapps.com/t/glide-to-make-com-email-integration/72080/10 "2024-04-03T01:01:01Z")

</div>

So the Files array would be from the Files type column.

**Files**  
 ![image](https://us1.discourse-cdn.com/flex002/uploads/glideapps/original/3X/8/b/8b5d0d84d44c67cebe3a20fd58a104b62abbaf08.png)

Here is the Files array I get from Glide.

**Files Array**  
 ![image](https://us1.discourse-cdn.com/flex002/uploads/glideapps/original/3X/d/8/d82d628243133cd388fdb320b562ed5ee8cdb967.png)

Its only value right now would be a text, but I uploaded multiple files.

**Files Content Data Type**  
 ![image](https://us1.discourse-cdn.com/flex002/uploads/glideapps/original/3X/1/8/18c8fb42f1cf664d240cae43a98b7d84c6a76f5c.png)

---

<div class="post-metadata">

**Author:** ![ThinhDinh](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/thinhdinh/32/49_2.png) [@ThinhDinh](https://community.glideapps.com/u/ThinhDinh)\
**Post date:** [April 3, 2024, 1:03am UTC](https://community.glideapps.com/t/glide-to-make-com-email-integration/72080/11 "2024-04-03T01:03:06Z")

</div>

Can you peek into the data and check if it’s a comma-delimited list of files? I would have expected it to have multiple elements if it’s an array.

---

<div class="post-metadata">

**Author:** ![Jerald101](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/jerald101/32/72828_2.png) [@Jerald101](https://community.glideapps.com/u/Jerald101)\
**Post date:** [April 3, 2024, 1:09am UTC](https://community.glideapps.com/t/glide-to-make-com-email-integration/72080/12 "2024-04-03T01:09:53Z")

</div>

So in my current email, I placed the Files array to see its contents.

**Email Template**  
 ![image](https://us1.discourse-cdn.com/flex002/uploads/glideapps/original/3X/c/3/c392b2f48a7c3a7ef54354c1e99245d32747f387.png)

Here is the actual data result found in the email:

**Array in Email**

 ![image](https://us1.discourse-cdn.com/flex002/uploads/glideapps/original/3X/8/2/82bc1218549109897c593fde042709e61871ad63.png)

---

<div class="post-metadata">

**Author:** ![ThinhDinh](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/thinhdinh/32/49_2.png) [@ThinhDinh](https://community.glideapps.com/u/ThinhDinh)\
**Post date:** [April 3, 2024, 1:12am UTC](https://community.glideapps.com/t/glide-to-make-com-email-integration/72080/13 "2024-04-03T01:12:43Z")

</div>

You don’t need to place it like that, you can click on the “1” bubble over the module once an execution has finished, click the download button and view it either from input/output sections.

So it seems like Glide is sending over a comma-delimited list. In your iterator, use split(Array[1];,) to see if it makes a difference.

---

<div class="post-metadata">

**Author:** ![Jerald101](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/jerald101/32/72828_2.png) [@Jerald101](https://community.glideapps.com/u/Jerald101)\
**Post date:** [April 3, 2024, 1:23am UTC](https://community.glideapps.com/t/glide-to-make-com-email-integration/72080/14 "2024-04-03T01:23:54Z")

</div>

So I clicked on the “1” bubble over the module and here are the results:

**Glide Module**

 ![image](https://us1.discourse-cdn.com/flex002/uploads/glideapps/original/3X/7/3/73da1d6dbeb8485e0ced522722a9b65b8f748a96.png)

**Iterator**

 ![image](https://us1.discourse-cdn.com/flex002/uploads/glideapps/original/3X/c/2/c22e5dd741c5cff5f98258776ce0388ab6fd8ac1.png)

**HTTP pt.1**

 ![image](https://us1.discourse-cdn.com/flex002/uploads/glideapps/original/3X/2/9/29f0744e1f21b38aefdc0b9ecf9b7dd97a54d7e1.png)

**HTTP pt.2**  
 ![image](https://us1.discourse-cdn.com/flex002/uploads/glideapps/original/3X/a/5/a5975215df2e7e5d37d3223f69cd7a170dbfbe34.png)

**Array Aggregator Output**

 ![image](https://us1.discourse-cdn.com/flex002/uploads/glideapps/original/3X/7/c/7cb0c1ed2e3ea153f55cfd7bc4564752aa7c4dae.png)

---

<div class="post-metadata">

**Author:** ![ThinhDinh](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/thinhdinh/32/49_2.png) [@ThinhDinh](https://community.glideapps.com/u/ThinhDinh)\
**Post date:** [April 4, 2024, 12:46am UTC](https://community.glideapps.com/t/glide-to-make-com-email-integration/72080/15 "2024-04-04T00:46:39Z")

</div>

> <https://stackoverflow.com/questions/70529999/the-file-name-becomes-file-extension-whenever-i-upload-a-file-to-onedrive-usin/72474638#72474638>

I think this might help your case.
