Chaining versus Nesting of API calls - whats the difference?

So trying to learn outbound API calls and havent found any documentation that describes when to chain callouts using workflow, versus nesting calls together. Given I am trying to extract data from one callout response i.e. the ‘instance_url’ parameter - to then use in the next callout ie GET [instance_url]/nextcallout , which is the most appropriate approach to use? Ive not got either pattern to work yet btw as cannot pass data from first call into the second, so wondering if Im setting this up wrong. Any advice appreciated!

1 Like


I think that find a pattern is essencial to try apply 2 ways

  • Get data from URL - using path
  • Extract with Regex

Maybe if you share some printscreen from your callout