Skip to main content
Question

How to use content of http.body

  • March 5, 2026
  • 4 replies
  • 77 views

arthur_bazin
Contributor
Forum|alt.badge.img+19

I have an automation that trigger an HTTP Request to get informations on a job :

host.com/fmeapiv4/jobs/{user.id}

 

The HTTP request is send and I get my response : 

{"id":122,"engineHost":"localhost","engineName":"localhost_Engine1",... ,"elapsedTime":29176,"cpuTime":7687,"cpuPercent":26.346997532218264,"peakMemoryUsage":186314752,"lineCount":2439,"warningCount":27,"errorCount":0,"remoteEngineName":"","remoteEngineJobLogUrl":""}

I would like to send an other http request based on the content of the body response :

host.com/fmeapiv4/accounts/{runtimeUserID}

 

The runtimeUserID key is a key in the http.body attribute which is a JSON value.

I cannot extract some portions of this JSON

I have try to get other keygs but it always failed :

  • {http.body}.{runtimeUserID}
  • {http.body.runtimeUserID}
  • {runtimeUserID}

and lots of combinations…

Is it possible and if so, how to achieve this ?

Thank you

4 replies

ebygomm
Influencer
Forum|alt.badge.img+48
  • Influencer
  • March 5, 2026

You don’t mention what transformer you are using to try and extract this but a JSONExtractor should be very straightforward

 


arthur_bazin
Contributor
Forum|alt.badge.img+19
  • Author
  • Contributor
  • March 6, 2026

Hi ​@ebygomm, thank’s for your help.

I’m working in an automation, there is no transformer here 😊

I want to get part of the json into automation action without using any workspace.

Thanks


nia.colebrooke
Safer
Forum|alt.badge.img+4

Hi Arthur, it’s not currently possible to parse JSON within the text editor for Automation parameters. This must be done in a workspace as ebygomm suggested. You could use a Run Workspace action in the automation, send the HTTP requests from inside that workspace using HTTPCallers, and parse their response bodies using JSON transformers like the JSONExtractor to keep things simple.


arthur_bazin
Contributor
Forum|alt.badge.img+19
  • Author
  • Contributor
  • March 11, 2026

Hi ​@nia.colebrooke,

That's what I have but it uses an engine each time the automation is triggered and it is quite a lot…

I'm a little bit desapointed that it could not parse any json, the “https request” action parses some part of the json it receives (the first level), it could be great to have the json completely parsed. 

Will create an idea on this topic.