---
name: posthog-core-workflow-b
description: |
  Execute PostHog secondary workflow: Core Workflow B.
  Use when implementing secondary use case,
  or complementing primary workflow.
  Trigger with phrases like "posthog secondary workflow",
  "secondary task with posthog".
allowed-tools: Read, Write, Edit, Bash(npm:*), Grep
version: 1.0.0
license: MIT
author: Jeremy Longshore <jeremy@intentsolutions.io>
---

# PostHog Core Workflow B

## Overview
Secondary workflow for PostHog. Complements the primary workflow.

## Prerequisites
- Completed `posthog-install-auth` setup
- Familiarity with `posthog-core-workflow-a`
- Valid API credentials configured

## Instructions

### Step 1: Setup
```typescript
// Step 1 implementation
```

### Step 2: Process
```typescript
// Step 2 implementation
```

### Step 3: Complete
```typescript
// Step 3 implementation
```

## Output
- Completed Core Workflow B execution
- Results from PostHog API
- Success confirmation or error details

## Error Handling
| Aspect | Workflow A | Workflow B |
|--------|------------|------------|
| Use Case | Primary | Secondary |
| Complexity | Medium | Lower |
| Performance | Standard | Optimized |

## Examples

### Complete Workflow
```typescript
// Complete workflow example
```

### Error Recovery
```typescript
// Error handling code
```

## Resources
- [PostHog Documentation](https://docs.posthog.com)
- [PostHog API Reference](https://docs.posthog.com/api)

## Next Steps
For common errors, see `posthog-common-errors`.