Ash.Reactor - Transform results for `initial` or `argument`

I'm calling an API and then creating records from the response. Is there a way to transform the API result into the record attrs in the create or bulk_create step? Or is it better to have a separate transform step and use its result as the initial for create or bulk_create step? API Call step -> Transform Results to Resource attrs -> Create or Bulk Create step
Solution:
I think you'd want to do a separate step
Jump to solution
3 Replies
Solution
ZachDaniel
ZachDaniel3mo ago
I think you'd want to do a separate step
ZachDaniel
ZachDaniel3mo ago
generally
Chaz Watkins
Chaz WatkinsOP3mo ago
ok, cool. Didn't know if there was something like transform for code_interfaces. Makes sense to have a separate step. Thanks!

Did you find this page helpful?