Skip to main content
Solved

AGOL attachment not being recognized by Emailer

  • July 17, 2025
  • 5 replies
  • 47 views

ares
Contributor
Forum|alt.badge.img+4

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.

This post is closed to further activity.
It may be an old question, an answered question, an implemented idea, or a notification-only post.
Please check post dates before relying on any information in a question or answer.
For follow-up or related questions, 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+61

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+4
  • 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+61

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+20
  • 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+4
  • Author
  • Contributor
  • Best Answer
  • July 21, 2025

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