Fetching account details in Workflow

Thanks Alex.

But how can I get accounId, as per below article, filters are not allowed in HTTP url.

https://developer.sailpoint.com/discuss/t/support-for-inline-variable-for-http-request-url-field/6250/9

{{$.getAccount.getaccounts[?(@.sourceName=="CM")].id}}

If possible can you share your solution.