hex-core-workflow-b

Featured

Execute Hex secondary workflow: Core Workflow B. Use when implementing secondary use case, or complementing primary workflow. Trigger with phrases like "hex secondary workflow", "secondary task with hex".

AI & Automation 2,926 stars 433 forks Updated yesterday MIT

Install

View on GitHub

Quality Score: 99/100

Stars 20%
100
Recency 20%
100
Frontmatter 20%
70
Documentation 15%
100
Issue Health 10%
50
License 10%
100
Description 5%
100

Skill Content

# Hex Scheduled Runs & Admin API ## Overview Configure scheduled runs and manage workspace resources via the Hex Admin API. Scheduled runs execute projects on cron-based intervals. The Admin API manages users, groups, and data connections. ## Instructions ### Step 1: List Project Runs ```typescript const TOKEN = process.env.HEX_API_TOKEN!; const BASE = 'https://app.hex.tech/api/v1'; async function getProjectRuns(projectId: string) { const response = await fetch(`${BASE}/project/${projectId}/runs`, { headers: { 'Authorization': `Bearer ${TOKEN}` }, }); const runs = await response.json(); for (const run of runs) { console.log(`${run.runId}: ${run.status} (${run.startTime} → ${run.endTime || 'running'})`); } return runs; } ``` ### Step 2: Scheduled Runs (via Hex UI + API Trigger) Schedules are configured in the Hex UI. For API-based scheduling, use external cron: ```typescript // cron-trigger.ts — run via cron job or CI import cron from 'node-cron'; // Daily at 6 AM UTC cron.schedule('0 6 * * *', async () => { console.log('Triggering daily report...'); await triggerRun({ projectId: 'daily-report-project-id', inputParams: { date: new Date().toISOString().split('T')[0] }, updateCache: true, }); }); // Weekly on Monday at 9 AM cron.schedule('0 9 * * 1', async () => { await triggerRun({ projectId: 'weekly-summary-project-id' }); }); ``` ### Step 3: User Management (Admin API) ```typescript // List workspace users async function li...

Details

Author
jeremylongshore
Repository
jeremylongshore/claude-code-plugins-plus-skills
Created
1 years ago
Last Updated
yesterday
Language
Python
License
MIT

Integrates with

Bundled in these plugins

Similar Skills

Semantically similar based on skill content — not just same category