```ruby
json.array!(@workflows) do |workflow|
  json.extract! workflow, :id
  json.url workflow_url(workflow, format: :json)
end
```

Update the workflows JSON output.
user
```ruby
json.array!(@workflows) do |workflow|
  json.extract! workflow, :id, :title, :description
  json.url workflow_url(workflow, format: :json)
end
```
assistant