Deluge - Get last record created after created it from a custom Function

Deluge - Get last record created after created it from a custom Function

Hello people,

I did a custom function to create a new quote from a deal everything is good except  at the end when I try to redirect my user to that quote he just create by clicking this button  that button is running a function that grab all the information on the deal and creating a quote with that info, I am using this to create the new quote

  1. info_str = "{\"data\":[" + paramap + "], " + "trigger: [\"approval\",\"workflow\",\"blueprint\"]}";
  2. //info info_str;
  3. response = invokeurl
  4. [
  5. url :posturl
  6. type :POST
  7. parameters:info_str
  8. headers:header_map
  9. ];

  10. info response;

  11. {
  12.   "data": [
  13.     {
  14.       "code": "SUCCESS",
  15.       "details": {
  16.         "Modified_Time": "2022-09-19T15:21:23-07:00",
  17.         "Modified_By": {
  18.           "name": "Fernando Contreras",
  19.           "id": "882677000100814001"
  20.         },
  21.         "Created_Time": "2022-09-19T15:21:23-07:00",
  22.         "id": "882677000125535001",
  23.         "Created_By": {
  24.           "name": "Fernando Contreras",
  25.           "id": "882677000100814001"
  26.         }
  27.       },
  28.       "message": "record added",
  29.       "status": "success"
  30.     }
  31.   ]
  32. }

Is there any way to get the Id of that quote the user just create?