360 Secure SkillHub
360 安全技能中心

import-contacts

该 Skill 指导用户把内联联系人记录或本地 CSV 导入 Nitrosend,涵盖邮箱与短信选择加入、导入前预览、列表分配和标签管理,并提醒导入同意与合规要求。

分类:营销
nitrosend
nitrosend
热度 5.10
最近更新 2026-10-28 07:45:58

安装

发给 Agent
帮我安装这个技能:npx secure-skills-cli add nitrosend/nitrosend-import-contacts
兼容性
通用兼容
联网要求
需要联网
数据出网
必须出网
Metadata
name
import-contacts
description
Import contacts into Nitrosend from inline records or CSV. Handles email opt-in, SMS TCPA compliance, list assignment, and tagging. Use when: "import contacts", "add subscribers", "upload contacts", "add to list", "bulk add contacts", or "import CSV".

Import Contacts

Help the user import contacts into Nitrosend.

Understand the Source

Ask where contacts are coming from:

  • Inline records: User provides names/emails directly (up to 100 at a time)
  • CSV file: Upload a local CSV through the direct-upload path (below)
  • One by one: Use nitro_manage_audience with operation: "create_contact" for individual contacts

CSV Import (direct upload)

For a local CSV, nitro_import_contacts runs a three-step upload:

  1. Call it with upload: {filename, content_type, byte_size, checksum} to reserve an authorized upload link
  2. PUT the file bytes to the returned direct_upload.url, sending exactly the returned direct_upload.headers
  3. Call nitro_import_contacts again with the returned signed_id (plus a columns mapping) to finalize; an existing import_id can also be processed

Large CSVs use the same async pipeline as the app/API/CLI: up to 250k rows self-serve, sends held for review above 20k rows, larger files return contact_sales.

Inline Import (< 100 contacts)

Use nitro_import_contacts with records array:

{
  "records": [
    { "email": "alice@example.com", "first_name": "Alice", "last_name": "Smith" },
    { "email": "bob@example.com", "first_name": "Bob", "source": "product-webinar" }
  ]
}

Important Rules

  • Email contacts: New contacts are auto-subscribed by default; existing contacts keep their current subscription state unless opt_in is explicit
  • SMS contacts: Must explicitly set opt_in: true (TCPA compliance)
  • Both channels: Include both email and phone fields
  • Source tracking: Set source to track where contacts came from

Always offer dry_run: true first to preview.

After Import

Add to a List

Use nitro_manage_audience with operation: "manage_list":

  • Create a list: action: "create", name: "List Name"
  • Add contacts: action: "add_contacts", list_id, emails: [...] or contact_ids: [...]

Tag Contacts

Use nitro_manage_audience with operation: "bulk_tag":

  • contact_ids: [...]
  • tags: ["webinar-attendee", "product-interest"]
  • tag_action: "add" (default), "remove", or "set"

Compliance Reminders

  • Only import contacts who have given consent to receive emails
  • Never import purchased or scraped lists
  • Include a source identifier for audit trails
  • SMS contacts require explicit written consent (TCPA)
  • GDPR: Ensure lawful basis for EU contacts