Developers can use natural language prompts to automatically build API Tasks, by leveraging Co-Pilot for Automators (Co-Pilot).

Prompting for API Tasks with Co-Pilot

Co-Pilot supports prompting directly within the API Task editor, enabling developers to build cloud-native automations using natural language. This capability allows teams to move quickly from intent to execution when designing API-driven workflows, without manually constructing each step.
Note: Permissions and licensing is required to use API Tasks. See, API Task license and consumption model

Benefits of Prompting API Tasks

An API Task is a cloud-based automation designed to orchestrate API interactions and backend processes. Because API Tasks are cloud-native, they are particularly effective for integration-heavy use cases such as system synchronization and service orchestration. See, API Task.

Building API Tasks with Co-Pilot reduces human effort required to assemble API-centric workflows. Developers can describe desired outcomes and Co-Pilot generates an API Task that aligns with supported cloud packages. This approach improves productivity, shortens development cycles, and makes complex integrations easier to iterate on and maintain.

Prompting Common API Task Scenarios

Prompting is especially effective for API Tasks that involve data transformation and system integration. For example, a developer might prompt Co-Pilot to merge data from multiple spreadsheets using a shared key, apply filtering rules, and produce a consolidated output. Co-Pilot can map this intent to cloud-compatible spreadsheet packages and generate a task that runs entirely in the cloud. Example prompt:
Merge two spreadsheets ‘a.xlsx’ and ‘b.xlsx’ from the folder at c:\temp by using the column AccountNo. Save the result to ‘c.xlsx’. Exclude records if the CustomerName contains ‘Kevin’ Or the Phone is ‘33333’.
Another common scenario involves synchronizing data between systems. A prompt that describes copying customer data from a spreadsheet into Salesforce contacts can be translated into an API Task that uses supported Salesforce and spreadsheet packages, enabling seamless data movement without manual configuration. Example prompt:
Copy the worksheet Customers in c:\temp\aai.xlsx to Salesforce contacts.

These examples highlight how prompting allows developers to express integration goals directly, while Co-Pilot handles the underlying implementation details.

Designing Cloud-Native Automations with Confidence

By leveraging Co-Pilot for Automators for API Tasks, developers gain a streamlined way to design, build, and run cloud-native automations. The managed execution environment, combined with natural language prompting, enables teams to scale automation development, reduce complexity, and deliver reliable API-driven workflows more efficiently.