Skip to main content

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.

 

 

  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

 


Thanks my friend. Always very accurate with your solutions !


Reply