Search
Star
Feedback
Setup for Free
ยฉ 2026 Hedgehog Software, LLC
Twitter
GitHub
Discord
System
Light
Dark
More
Communities
Docs
About
Terms
Privacy
Ash.Reactor - Transform results for `initial` or `argument` - Ash Framework
AF
Ash Framework
โข
8mo ago
โข
5 replies
Chaz Watkins
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
create
or
bulk_create
bulk_create
step
? Or is it better to have a separate transform step and use its result as the initial for
create
create
or
bulk_create
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
Ash Framework
Join
The Elixir backend framework for unparalleled productivity. Declarative tools that let you stop wasting time. Use with Phoenix LiveView or build APIs in minutes for your front-end of choice.
2,193
Members
View on Discord
Resources
ModelContextProtocol
ModelContextProtocol
MCP Server
Recent Announcements
Similar Threads
Was this page helpful?
Yes
No
Similar Threads
How to use Ash.Transform?
AF
Ash Framework / support
3y ago
reactor_req - argument option in dsl is missing
AF
Ash Framework / support
9mo ago
Guides or advice for migrating to Ash?
AF
Ash Framework / support
3y ago
(ArgumentError) could not fetch application environment :ash_domains for application :test
AF
Ash Framework / support
7mo ago