Skip to main content
Solved

Action Flow partial result http

  • February 19, 2025
  • 2 replies
  • 70 views

douglas.souza
Level 4
Forum|alt.badge.img+3

Hello celonauts, I have a question. I'm creating an action flow that will access an API, but it needs to generate a token and then go to access. In the first step, I generate my token, but it comes composed. I would like to get only the part that brings the token: Example
{"token_type":"Bearer","expires_in":3599,"ext_expires_in":3599,"access_token": "value-token"}.

I need to get only the "value-token" part after the "access_token":

Is there any way I can do a spit or something like that? I don't know how to get out the other side.

 

 

Best answer by abhishek.chatu14

  1. Enable the "Parse response" option in the HTTP module
  • This automatically parses the JSON response into structured data.
  1. Use the "Parse JSON" module (if the response is raw data)
  • Add the Parse JSON module after the HTTP request.
  • Set the JSON string input to reference the HTTP response

 

2 replies

abhishek.chatu14
Level 11
Forum|alt.badge.img+4
  • Level 11
  • 336 replies
  • Answer
  • February 20, 2025
  1. Enable the "Parse response" option in the HTTP module
  • This automatically parses the JSON response into structured data.
  1. Use the "Parse JSON" module (if the response is raw data)
  • Add the Parse JSON module after the HTTP request.
  • Set the JSON string input to reference the HTTP response

 


douglas.souza
Level 4
Forum|alt.badge.img+3
  • Author
  • Level 4
  • 3 replies
  • February 20, 2025

Thanks my friend. Always very accurate with your solutions !