agentsclimarketplace

Complete user onboarding

Skill urbanairship/agent-tools/skills/workflows/complete-user-onboarding

Complete user onboarding workflow that registers multiple channels (email and SMS), associates them with a named user, tracks completion with a custom event, and sends a welcome notification. Use when onboarding new users, setting up multi-channel user accounts, or automating welcome sequences.From its SKILL.md

Install
npx -y skills add urbanairship/agent-tools --skill complete-user-onboarding

Assembled from the repository path, not quoted from the project. Check it against their README if it does not work.

One thing to look at

  • 0 stars0 stars. Stars are a popularity signal and not a quality one, but at this level it is likely that nobody has read this closely except its author, and you would be relying on your own review.

SKILL.md

3.6 KB, as published. Nobody here has run it

Complete User Onboarding Workflow

This workflow demonstrates registering multiple channels and associating them with a named user.

Prerequisites

  • Airship account with API access
  • User email address (required)
  • User SMS phone number (optional)
  • Sender code (if using SMS)
  • Named user ID

Skills Required

Step 1: Register Email

POST /api/channels/email
Authorization: Bearer <token>
Content-Type: application/json

{
  "channel": {
    "type": "email",
    "address": "[email protected]",
    "commercial_opted_in": "2024-01-15T10:30:00"
  }
}

Get: email_channel_id

Step 2: Register SMS (if provided)

POST /api/channels/sms
Authorization: Bearer <token>
Content-Type: application/json

{
  "msisdn": "15035556789",
  "sender": "12345",
  "opted_in": "2024-01-15T10:30:00"
}

Get: sms_channel_id

Step 3: Associate Email with Named User

POST /api/named_users/associate
Authorization: Bearer <token>
Content-Type: application/json

{
  "named_user_id": "user_12345",
  "email_address": "[email protected]"
}

Step 4: Associate SMS with Named User

POST /api/named_users/associate
Authorization: Bearer <token>
Content-Type: application/json

{
  "named_user_id": "user_12345",
  "channel_id": "<sms_channel_id>",
  "device_type": "sms"
}

Step 5: Submit Custom Event

Track the onboarding completion:

POST /api/custom-events
Authorization: Bearer <token>
Content-Type: application/json

{
  "user": {
    "named_user_id": "user_12345"
  },
  "body": {
    "name": "onboarding_complete",
    "occurred": "2024-01-15T10:35:00",
    "properties": {
      "channels_registered": ["email", "sms"]
    }
  }
}

Step 6: Send Welcome Push

Send a welcome notification to the user:

POST /api/push
Authorization: Bearer <token>
Content-Type: application/json

{
  "audience": {
    "named_user": "user_12345"
  },
  "device_types": ["ios", "android", "web", "email", "sms"],
  "notification": {
    "alert": "Welcome! Your account is set up."
  }
}

Outcomes

  • Email channel registered and associated
  • SMS channel registered and associated (if provided)
  • Onboarding completion tracked
  • Welcome notification sent

Use Cases

  • New user registration
  • Account setup completion
  • Multi-channel user onboarding
  • Welcome message automation

Related Workflows

Best Practices

  1. Registration handles existing channels automatically: The registration endpoint handles both new and existing channels, so no lookup step is needed
  2. Handle errors gracefully: Implement retry logic and error handling for network issues
  3. Handle partial failures: Consider rollback or resume strategies if steps fail mid-workflow
  4. Validate inputs: Ensure email addresses and phone numbers are valid before registration

Keep looking

Skills are one crate of 607,533. Ordering is by how many stacks a row turns up in, so the top of any crate is what has actually been picked rather than what has the most stars.