Skip to main content
Solved

AGOL attachment not being recognized by Emailer


ares
Contributor
Forum|alt.badge.img+3
  • Contributor

I would like to use Flow to send an email once a record is being added to a survey123-form in Arcgis Online. This email should contain the record fields and attachment (image file, 1 for every record). When using a webhook + workspace in Flow I am able to sent an email with the record fields using the emailer transformation.

However, I am not sure how to send the attachment (without placing it on the server first). I am not sure what I should fill out in the 'source file' field in the Emailer transformer.

I tried:

  • inserting the attachment url
  • first converting (with RasterExtractor) and then using the rasterblob.

Both send the items to rejected.

What should I fill out here?

Or is this not possible without first downloading the image?

Best answer by ares

Thanks both! I opted for a temppathnamecreator → arcgisattachmentconnector → emailer using this howto.

View original
Did this help you find an answer to your question?
This post is closed to further activity.
It may be a question with a best answer, an implemented idea, or just a post needing no comment.
If you have a follow-up or related question, please post a new question or idea.
If there is a genuine update to be made, please contact us and request that the post is reopened.

5 replies

nielsgerrits
VIP
Forum|alt.badge.img+58

Not sure if this can be done without downloading the attachment first.

How I do this:

  • TempPathNameCreator to create a folder in the temp files.
  • HTTPCaller to download the attachment to the temp path.
  • Emailer to mail the attachment.

ares
Contributor
Forum|alt.badge.img+3
  • Author
  • Contributor
  • July 17, 2025

Thanks. If I run the workbench in Flow, how should  use the HttpCaller?  I tried setting ImageFetcher > RasterExtractor (png) > TempPathNameCreator >  HttpCaller.

But what should I enter in the HttpCaller and which parameter should I enter in the Emailer?

I tried:

  • request Url: _pathname
  • HTTP Method: PUT
  • Upload Data: Upload from file
  • Upload File: _rasterBlob
  • Content Type: PNG (image/png)

Which results in rejected: error: HTTP/FTP Transfer: Failed to open file [blob] for resource upload

 


nielsgerrits
VIP
Forum|alt.badge.img+58

If you can use the ImageFetcher to download the attachment that will do.

TempPathNameCreator  → ImageFetcher → Emailer.

Use the generated path from the TempPathNameCreator in the ImageFetcher to save the file and use this path for the emailer as well.

If you struggle with setting up the TempPathNameCreator, try first to get it working using a local path and if it works, change to the path from the TempPathNameCreator.


salvaleonrp
Enthusiast
Forum|alt.badge.img+18
  • Enthusiast
  • July 17, 2025

To add a couple of options to streamline the download and temp storage of that attachment.

Avoid the HTTPCaller configuration by using the ESRI ArcGIS Connector package from FME Hub and its ArcGISAttachmentConnector transformer to download the attachments.

Consider also using your workspace Temp Resources folder in FME Flow as your temporary storage for the downloaded pictures. They get deleted every 24 hours.


ares
Contributor
Forum|alt.badge.img+3
  • Author
  • Contributor
  • Best Answer
  • July 21, 2025

Thanks both! I opted for a temppathnamecreator → arcgisattachmentconnector → emailer using this howto.


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings