This project is not covered by Drupal’s security advisory policy.
This project is brand new and under heavy initial development.
Integrates AirOps AI-powered applications with Drupal, enabling automated content generation, workflow execution, and AI-driven content operations directly within your Drupal site.
Features
- Secure API Key Management: Uses the Key module for secure credential storage
- Execute AirOps Apps: Run AI workflows synchronously or asynchronously
- Content Generation: Automatically generate content for nodes, articles, and more
- Status Monitoring: Track execution progress and results
- Form Integration: Create custom forms with AI-powered content generation
- Developer-Friendly: Full API client service with comprehensive error handling
- Drupal 10 & 11 Compatible: Works with modern Drupal versions
Use Cases
- Automated Content Creation: Generate article content, meta descriptions, and summaries
- Content Enhancement: Enrich existing content with AI-generated additions
- Bulk Content Operations: Process multiple items with background execution
- Custom Workflows: Integrate any AirOps app into your Drupal workflows
- SEO Optimization: Generate SEO-friendly content and metadata
Requirements
- Drupal 10 or 11
- Key module
- AirOps account and API key (Get started)
Quick Start
1. Install the module
composer require drupal/airops_api
composer require drupal/key
drush en key airops_api -y
2. Create an API key
Navigate to Configuration → System → Keys (/admin/config/system/keys) and create a new key for your AirOps API credentials.
3. Configure the module
Go to Configuration → Services → AirOps API Settings and select your key.
4. Start using the API
$client = \Drupal::service('airops_api.client');
$result = $client->executeApp('your-app-uuid', $inputs);
Example: Auto-Generate Article Content
<?php function mymodule_node_presave(NodeInterface $node) { if ($node->bundle() === 'article' && $node->isNew()) { $client = \Drupal::service('airops_api.client'); $result = $client->executeApp('content-generator-uuid', [ 'title' => $node->getTitle(), 'keywords' => $node->get('field_keywords')->value, ]); if ($result['status'] === 'completed') { $node->set('body', $result['output']['content']); } } } ?>
Documentation
Full documentation, including advanced usage examples and troubleshooting, is available in the README.md file.
Support
Security
This module uses the Key module to securely manage API credentials. Always use environment variables or secure key providers in production environments.
Project page: https://www.drupal.org/project/airops_api
Project information
Minimally maintained
Maintainers monitor issues, but fast responses are not guaranteed.- Project categories: Integrations
- Created by crashtest_ on , updated
This project is not covered by the security advisory policy.
Use at your own risk! It may have publicly disclosed vulnerabilities.
