## Description
fixes issue introduced in
97b374c1ef
## Automation
/ok-to-test tags="@tag.Datasource"
### 🔍 Cypress test results
<!-- This is an auto-generated comment: Cypress test results -->
> [!IMPORTANT]
> 🟣🟣🟣 Your tests are running.
> Tests running at:
<https://github.com/appsmithorg/appsmith/actions/runs/14052145641>
> Commit: 799b54d6b73ad803e5323de64886411fe2427740
> Workflow: `PR Automation test suite`
> Tags: `@tag.Datasource`
> Spec: ``
> <hr>Tue, 25 Mar 2025 05:11:15 UTC
<!-- end of auto-generated comment: Cypress test results -->
## Communication
Should the DevRel and Marketing teams inform users about this change?
- [ ] Yes
- [ ] No
<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->
## Summary by CodeRabbit
- **Refactor**
- Enhanced action configuration by making certain settings optional,
which increases flexibility in how actions are handled and instantiated.
<!-- end of auto-generated comment: release notes by coderabbit.ai -->