# Lists
Source: https://docs.comify.io/audience/lists
Build a static, point-in-time audience from a rule snapshot or a CSV upload.
A **List** is a static audience: a fixed set of contacts captured at a point in time. Once created, its membership doesn't change on its own — you build a new list (or re-upload a CSV) rather than watch it drift.
Looking for a dynamic audience that re-qualifies automatically? See [Segments](/audience/segments). For a side-by-side comparison, see [Create an Audience](/audience/overview).
## Create a list
From **Template Manager → Audience List**, click **+ New audience → List**. You get two ways to build it: **From a rule** or **Upload CSV**.
## From a rule
This uses the exact same **Name** + **Rules** builder as a [Segment](/audience/segments) — the same fields, the same operators, the same **+ Add rule** and **Preview count** behavior. See the [Segments rule reference](/audience/segments#rule-reference) for the full field and operator inventory.
The difference is what happens after you click **Create list**: Comify captures a **one-time snapshot** of everyone who currently matches your rules. New contacts that later start matching the rule are **not** added automatically, and contacts that stop matching are **not** removed — the list stays exactly as it was captured.
Use a rule-built list when you want the precision of the rule builder but need the audience to hold still — for example, a promotional send where you don't want the recipient set shifting while the campaign is in review or scheduled.
## Upload CSV
Switch to the **Upload CSV** tab to import contacts directly from a file.
Enter a **List name** and an optional **Description**.
Click **Template** to download a CSV pre-filled with the expected column headers, so your file maps cleanly to Comify's fields without a manual re-mapping step.
Click the dropzone to choose a `.csv` file, then click **Upload**.
Uploaded lists appear in the Audiences page as **pending** while rows are validated, then flip to **Processed** once ready to use.
## Lists are not editable after creation
This is the key behavioral difference from Segments: **once a list is created, it cannot be reopened or edited — regardless of whether it was built from a rule or uploaded as a CSV.** Clicking a list's row in the Audiences list does nothing (unlike a segment's row, which reopens the rule builder). To change who's in a list, create a new one or upload a fresh CSV.
There's also no **Refresh** action on list rows — that control only appears on Live segments, since a list's membership is fixed by design.
## Using a list in a campaign
Lists are selectable from the [Audience step](/campaigns/audience) of any campaign — Email, [SMS](/campaigns/sms/audience), or [WhatsApp](/campaigns/whatsapp/audience) — under **Select existing → Campaign audiences**.
Lists are fixed, so the audience a campaign sends to is exactly what was captured when the list was created or last uploaded — no re-qualification happens at send time.
## Next steps
* Need membership to stay current automatically? See [Segments](/audience/segments).
* [Create an Audience](/audience/overview) — Segment vs. List comparison.
* [Create a campaign](/campaigns/overview) using this list.
# Create an Audience
Source: https://docs.comify.io/audience/overview
Build a List or a Segment in the Comify dashboard to target the right contacts in your campaigns.
An **audience** is who a [campaign](/campaigns/overview) sends to. Comify supports two audience types — pick the one that matches how "current" you need the membership to be.
This is a dashboard walkthrough. Screens are captured from **cloud.comify.io** → **Template Manager → Audience List**.
## Segment vs. List
**Dynamic.** Built from rules only. Membership is re-evaluated automatically as customer data changes — a contact can enter or leave a segment on its own, with no re-upload needed. [Full guide →](/audience/segments)
**Static.** A fixed set of contacts, captured at a point in time — built either **from a rule** (snapshotted once) or by **uploading a CSV**. Membership only changes when you re-run or re-upload it. [Full guide →](/audience/lists)
Use a **Segment** for anything you want to stay current automatically — "customers who haven't ordered in 30 days," "WhatsApp-consented users." Use a **List** for a one-off send — an event guest list, an imported CSV of leads, or a rule-built snapshot you don't want to shift under you mid-campaign.
## Open Audience List
From the sidebar, open **Template Manager → Audience List**. This is the unified **Audiences** page — every Segment and List you've created, with tabs to filter by type.
Each row shows:
| Column | Description |
| ----------- | ----------------------------------------------- |
| **Name** | The audience's name (and description, if set). |
| **Type** | `Segment` or `List`. |
| **Members** | Current member count. |
| **Updated** | When it was last created, edited, or refreshed. |
| **Status** | `Live` (segments) or `Processed` (lists). |
Live segments show a **Refresh** action in the row — use it to re-qualify membership on demand instead of waiting for the next automatic evaluation. Lists don't have this action, since their membership is fixed.
Click **+ New audience** to open the type picker:
* Choosing **Segment** opens the rule builder covered in [Segments](/audience/segments).
* Choosing **List** opens the from-a-rule / upload-CSV builder covered in [Lists](/audience/lists).
## Row behavior at a glance
| | Segment | List (from a rule) | List (CSV upload) |
| ------------------------------ | ------------------------------------------------------- | ------------------ | ------------------- |
| **Click the row to reopen it** | Yes — reopens the rule builder, pre-filled and editable | No | No |
| **Membership after creation** | Re-evaluated automatically | Fixed at creation | Fixed at upload |
| **Manual re-qualify** | **Refresh** action | Not available | Not available |
| **To change membership** | Edit the rules directly | Create a new list | Re-upload a new CSV |
## Using an audience in a campaign
Once created, both Segments and Lists are selectable from the [Audience step](/campaigns/audience) of any campaign — Email, [SMS](/campaigns/sms/audience), or [WhatsApp](/campaigns/whatsapp/audience) — under **Select existing → Campaign audiences** (Lists) or **Comify segment** (Segments).
Segments **re-qualify at send time** — the member count you see when building a campaign is an estimate. Lists are fixed, so the audience a campaign sends to is exactly what was captured when the list was created or last uploaded.
## Next steps
Full rule-builder reference: every field, operator, and how live re-qualification behaves.
Building a static list from a rule snapshot or a CSV upload, and the CSV template.
* Send to this audience: [Create a campaign](/campaigns/overview)
* Explore channel-specific sends: [SMS Campaigns](/campaigns/sms/audience) · [WhatsApp Campaigns](/campaigns/whatsapp/audience)
# Segments
Source: https://docs.comify.io/audience/segments
Build a dynamic audience that re-qualifies automatically as customer data changes.
A **Segment** is a dynamic audience: a set of rules that Comify evaluates against your live customer data. Contacts enter or leave a segment on their own — nothing to re-upload, nothing to re-run.
Looking for the static, point-in-time option instead? See [Lists](/audience/lists). For a side-by-side comparison, see [Create an Audience](/audience/overview).
## Create a segment
From **Template Manager → Audience List**, click **+ New audience → Segment**.
Give it a clear, descriptive name (e.g. `WhatsApp opted-in`, `Lapsing VIPs`).
Each rule has three parts: a **field**, an **operator**, and a **value**. The operator and value input adapt automatically based on the field's data type — see the [rule reference](#rule-reference) below.
Click **+ Add rule** to add more conditions. Rules are combined with **AND** — a contact must match every rule to be included.
Click **Preview count** to see how many current contacts match your rules before saving. This runs a live query against your customer data, so the number reflects who would qualify right now.
Click **Create segment**. It's saved as **Live** and starts evaluating membership automatically — no further action needed to keep it current.
## Rule reference
Every rule is built from a **field**, an **operator**, and (depending on the operator) a **value**. The field determines which operators are available.
### Fields
| Field | Type |
| ------------------ | ------- |
| `customer id` | Text |
| `first name` | Text |
| `last name` | Text |
| `email` | Text |
| `phone` | Text |
| `gender` | Text |
| `consent email` | Boolean |
| `consent sms` | Boolean |
| `consent whatsapp` | Boolean |
| `birth year` | Number |
### Operators by field type
| Operator | Behavior |
| ------------- | --------------------------------------- |
| `is` | Exact match |
| `is not` | Excludes an exact match |
| `in` | Matches any value in a list you provide |
| `contains` | Substring match |
| `starts with` | Prefix match |
| `ends with` | Suffix match |
| `exists` | Field is populated (non-empty) |
| Operator | Behavior |
| ---------- | ---------------------------------------------------------- |
| `is` | Matches a **true**/**false** value, chosen from a dropdown |
| `exists` | Field has a value set at all |
| `is empty` | Field has no value set |
Use consent fields to build compliant sends — e.g. a segment with `consent whatsapp` **is** **true** for a WhatsApp campaign audience.
| Operator | Behavior |
| --------- | --------------------------------------------- |
| `is` | Exact match |
| `is not` | Excludes an exact match |
| `>` | Greater than |
| `≥` | Greater than or equal to |
| `<` | Less than |
| `≤` | Less than or equal to |
| `between` | Range — shows two inputs, **min** and **max** |
Multiple rules are always combined with **AND**. There's no OR / "any of these rules" mode — to approximate an OR condition on the same field, use the `in` operator on a Text field.
## Editing a segment
Unlike Lists, Segments stay editable indefinitely. Click any segment's row in the Audiences list to reopen this same rule builder, pre-filled with its current rules — adjust them and save, and the segment re-evaluates against the new criteria going forward.
## Refreshing membership
Segment membership updates automatically, but you don't have to wait for the next automatic pass. From the Audiences list, click **Refresh** on any Live segment's row to re-qualify its membership on demand.
## Using a segment in a campaign
Segments are selectable from the [Audience step](/campaigns/audience) of any campaign — Email, [SMS](/campaigns/sms/audience), or [WhatsApp](/campaigns/whatsapp/audience) — under **Select existing → Comify segment**.
Segments **re-qualify at send time**. The member count shown while building a campaign is an estimate — the actual recipient list is computed fresh when the campaign sends.
## Next steps
* Need a fixed, point-in-time audience instead? See [Lists](/audience/lists).
* [Create an Audience](/audience/overview) — Segment vs. List comparison.
* [Create a campaign](/campaigns/overview) using this segment.
# Audience
Source: https://docs.comify.io/campaigns/audience
Define who receives your email campaign.
The first step in creating an email campaign is selecting your audience — the group of contacts who will receive the email.
Want to build your audience ahead of time, or keep it updating automatically? See [Segments](/audience/segments) (dynamic) or [Lists](/audience/lists) (static, from a rule or CSV) — built from the Audience List page — then select it here.
## Getting Started
From your Comify dashboard, navigate to **Campaigns** and click **Create Campaign**.
You'll land on the Audience step. Click **Upload CSV** or **Select existing** to attach your audience.
## Attaching an Audience
Upload a new CSV file with your contacts. Rows are validated before the campaign launches. Each column in your CSV becomes an available field for variable mapping later.
Pick from a previously uploaded audience list. New uploads appear as "pending" until processing completes.
### Selecting an Existing List
Click **Select existing** to open the audience picker, with two tabs:
| Tab | What it shows |
| ---------------------- | ------------------------------------------------------------------------------------------------------------- |
| **Campaign audiences** | Lists you've uploaded or built from a rule, with contact counts, email counts, status, and last updated time. |
| **Comify segment** | Dynamic segments — the member count shown is an estimate, since segments re-qualify at send time. |
Click **Select** (Lists) or **Use** (Segments) next to the audience you want.
## After Attaching an Audience
Once an audience is attached, Comify shows a summary of the list:
| Field | Description |
| ------------------ | ------------------------------------------------------------------- |
| **Total Audience** | Total number of contacts in the list |
| **Sendable** | Contacts with a valid email address who will receive the campaign |
| **Excluded** | Contacts skipped due to missing email, unsubscribes, or suppression |
Below the summary you'll see the **Available fields** from your CSV (e.g. name, email, phone, company, discount) — these are the columns you can map to template variables in the next step.
A sample of the first few rows is shown so you can verify the data looks correct before proceeding.
Contacts without a valid email address are automatically excluded from campaign sends.
## Next Step
Once your audience is attached and the sendable count looks right, click **Continue** to move to the [Content](/campaigns/content) step.
# Content
Source: https://docs.comify.io/campaigns/content
Choose your email template, map variables, test your email, and configure UTM tracking.
The Content step is where you define what your campaign email will look like. This includes selecting a template, mapping dynamic variables, sending a test, and setting up UTM parameters for link tracking.
## 1. Select a Template
Campaigns use templates created in the **Email Templates** workspace. Click **Choose template** to open the template picker.
Only published (live) templates are shown. Search by name or scroll to find the right one, then click to select it.
If you haven't created a template yet, click **Create email template** to open the template builder in a new tab.
## 2. Variable Mapping
Once a template is selected, Comify detects any dynamic variables it contains (e.g. `{{name}}`, `{{price}}`) and lists them in the **Variable Mapping** table.
For each variable, set:
| Column | Description |
| ------------------- | ------------------------------------------------------------------------- |
| **Variable** | The placeholder used in the template |
| **Audience Column** | The CSV column whose value replaces this variable at send time |
| **Fallback** | *(optional)* The value used if the audience column is empty for a contact |
| **Status** | **Unset** until a column is mapped, then **Mapped** |
A fallback is optional. When set, it's used for the test send, and on a real send whenever the mapped column is empty for a contact. A variable only needs its **Audience Column** mapped to show as **Mapped** — a fallback isn't required to proceed.
## 3. Send a Test Email
Before sending to your full audience, click **Send test** in the top-right corner to preview how the campaign looks in a real inbox. The test uses your fallback values so you can verify rendering and layout.
Test emails are sent immediately, regardless of your campaign's scheduled send time. Use them to catch formatting issues or broken links early.
## 4. UTM Tracking
UTM tracking is enabled by default. Scroll down to the **UTM tracking** section to review or edit the parameters that will be appended to all links in your email.
| Parameter | Description | Default |
| ----------------------------- | ------------------------------------- | ------------------ |
| **Source** (`utm_source`) | Identifies the traffic source | `comify` |
| **Medium** (`utm_medium`) | The marketing medium | `email` |
| **Campaign** (`utm_campaign`) | The specific campaign name | Your campaign name |
| **Content** (`utm_content`) | Differentiates links within the email | Template name |
| **ID** (`utm_id`) | Unique campaign identifier | Auto-generated |
| **Term** (`utm_term`) | Keyword term (optional) | Off by default |
Toggle individual parameters on or off as needed. An **Example tagged link** is shown at the bottom so you can verify the full URL before sending.
UTM parameters are strongly recommended if you're tracking campaign ROI through Google Analytics or another web analytics platform.
## Next Step
Once your template is selected, all variables have fallbacks, and UTM tags look right, click **Continue** to move to [Scheduling](/campaigns/scheduling).
# Campaigns Overview
Source: https://docs.comify.io/campaigns/overview
Send targeted Email, SMS, and WhatsApp campaigns to your audience from Comify's unified Campaign Manager.
Comify's Campaigns feature lets you send one-time or scheduled bulk messages to a defined segment of your audience — without writing any code. Whether it's a product announcement, a promotional offer, or a re-engagement push, campaigns give your team a simple, structured way to reach users at scale.
From the **Create campaign** dialog you choose a **Channel** — **Email**, **WhatsApp**, or **SMS** — and the rest of the flow adapts accordingly. Every channel follows the same 3-step wizard covered below, but each has its own full walkthrough with channel-specific details: [Email Campaigns](/campaigns/audience), [SMS Campaigns](/campaigns/sms/audience), and [WhatsApp Campaigns](/campaigns/whatsapp/audience).
## How It Works
Every campaign in Comify, regardless of channel, follows the same wizard, plus a post-send performance view:
Define who receives the campaign. Upload a CSV or select an existing list/segment to reach the right people.
Choose a template, map dynamic variables, send a test, and configure UTM tracking parameters.
Decide when the campaign sends — immediately or at a scheduled date and time.
Track delivery and engagement metrics after the campaign goes out. The metrics tracked differ by channel — see each channel's Performance page for specifics.
## When to Use Campaigns
Notify your user base about new features, releases, or updates.
Send discount codes, limited-time deals, or seasonal promotions.
Bring back inactive users with targeted win-back messages.
Share curated content, company news, or product highlights on a regular cadence.
## Before You Start
Make sure you have:
* An **email provider** configured in your Comify dashboard (e.g. SendGrid, Brevo, SMTP). See [Email Providers](/channels/email/overview) for setup instructions.
* At least one **email template** created and ready to use.
* A **contact list** with valid email addresses to target.
Once these are in place, you're ready to [create your first campaign](/campaigns/audience).
# Performance
Source: https://docs.comify.io/campaigns/performance
Track delivery, engagement, and campaign results.
Once your campaign has been sent, the Performance view gives you a real-time picture of how it's doing — from delivery rates through to clicks and unsubscribes.
## AI Insights
The **AI Insights** panel (coming soon) will automatically summarize campaign performance, surface anomalies, and provide recommendations — so you don't have to dig through the numbers manually.
## Performance Metrics
The Performance section shows five key metrics at a glance:
| Metric | Description |
| ---------------- | ------------------------------------------------------------------------------- |
| **Delivered** | Emails successfully accepted by the recipient's mail server, with delivery rate |
| **Opens** | Number of recipients who opened the email, with open rate |
| **Clicks** | Number of recipients who clicked a link, with click rate |
| **Bounced** | Emails that could not be delivered, with bounce rate |
| **Unsubscribed** | Recipients who opted out, with unsubscribe rate |
A high unsubscribe rate (above 0.5%) may indicate that the campaign content or audience targeting needs refinement.
## Performance Funnel
The **Performance funnel** visualizes how contacts move through the campaign lifecycle:
**Audience → Sent → Delivered → Opened → Clicked**
Each stage shows the count and percentage relative to the total audience, so you can immediately spot where drop-off is happening.
## Campaign Statuses
| Status | Meaning |
| ------------- | ------------------------------------------ |
| **Draft** | Campaign is being configured, not yet sent |
| **Scheduled** | Campaign is queued for a future send time |
| **Sending** | Campaign is actively being delivered |
| **Sent** | All emails have been dispatched |
If you configured UTM parameters in the [Content](/campaigns/content) step, cross-reference your click stats with Google Analytics for a complete picture of post-click behaviour.
# Scheduling
Source: https://docs.comify.io/campaigns/scheduling
Choose when your campaign email gets sent.
The Scheduling step lets you decide when your campaign is delivered — send it immediately, schedule it for a specific time, or (coming soon) let Comify pick the best time for each recipient.
## Send Options
Delivers to the whole audience immediately after you confirm.
Pick a fixed date and time to send. Ideal for planned promotions or off-hours sends.
Coming soon — Comify will send to each recipient at their most-engaged hour, based on their profile.
## Scheduling for a Specific Time
Select **Schedule for later** to reveal the date and time pickers.
1. Set a **Send date**
2. Set a **Send time**
3. Confirm the **Time zone** — defaults to your account timezone (e.g. Asia/Kolkata IST)
Scheduled sends must be at least 5 minutes in the future.
Once everything is set, click **Schedule** to queue the campaign. You'll be returned to the campaign list where the status will show as **Scheduled**.
## Sending Immediately
Select **Send now** and click **Send now** to dispatch to your entire audience right away. Use this for time-sensitive announcements.
## Next Step
After your campaign sends, head to [Performance](/campaigns/performance) to monitor delivery and engagement metrics.
# Audience
Source: https://docs.comify.io/campaigns/sms/audience
Define who receives your SMS campaign.
The first step in creating an SMS campaign is selecting your audience — the group of contacts who will receive the text message.
This is a dashboard walkthrough. Screens are captured from **cloud.comify.io** → **Template Manager → Campaign Manager**.
Want to build your audience ahead of time, or keep it updating automatically? See [Segments](/audience/segments) (dynamic) or [Lists](/audience/lists) (static, from a rule or CSV) — built from the Audience List page — then select it here.
## Getting started
From **Template Manager → Campaign Manager**, click **Create campaign**, give it a **Name** and optional **Description**, and select **SMS** under **Channel**. Click **Create campaign** to open the wizard — the stepper shows **Audience → Content → Scheduling**, and you land on the Audience step.
## Attaching an audience
Upload a new CSV file with your contacts. Rows are validated before the campaign launches. Each column in your CSV becomes an available field for variable mapping in the next step.
Pick from a previously uploaded audience list or a dynamic segment. New uploads appear as "pending" until processing completes.
### Selecting an existing list
Click **Select existing** to open the audience picker, with two tabs:
| Tab | What it shows |
| ---------------------- | --------------------------------------------------------------------------------------------------------------------- |
| **Campaign audiences** | Lists you've uploaded or built from a rule, with Contacts, With Email, Status, and Updated. |
| **Comify segment** | Dynamic segments (built with **+ New**) that re-qualify members at send time — the member count shown is an estimate. |
Click **Select** next to the list you want.
## After attaching an audience
Once an audience is attached, Comify shows a summary of the list, its **Available fields**, and a sample of the first rows so you can verify the data before proceeding.
| Field | Description |
| ------------------ | ------------------------------------------------------------------------------ |
| **Total Audience** | Total number of contacts in the list |
| **Sendable** | Contacts with a valid phone number who will receive the SMS |
| **Excluded** | Contacts skipped due to missing/invalid phone number, opt-outs, or suppression |
Contacts without a valid phone number are automatically excluded from SMS sends.
## Next step
Once your audience is attached and the sendable count looks right, click **Continue** to move to [Content](/campaigns/sms/content).
# Content
Source: https://docs.comify.io/campaigns/sms/content
Choose your SMS template, map variables, test your message, and configure UTM tracking.
The Content step is where you define what your SMS will say. This includes selecting a template, mapping dynamic variables, sending a test, and setting up UTM parameters for link tracking.
## 1. Select a template
Click **Choose template** to pick a **published/live** [SMS template](/platform/create_sms_template), or **Create SMS template** to open the template builder in a new tab.
## 2. Variable mapping
Once a template is selected, every variable it contains (e.g. `{{phone}}`, `{{first_name}}`) is listed in a **Variable mapping** table with a **Map to field** dropdown — populated from your attached audience's columns — and a **Fallback** value.
| Column | Description |
| ---------------- | ------------------------------------------------------------------- |
| **Variable** | The placeholder used in the template |
| **Map to field** | The audience column whose value replaces this variable at send time |
| **Fallback** | The value used if the mapped column is empty for a contact |
| **Status** | **Unset** until a fallback is entered, then **Mapped** |
For SMS, **every variable needs a fallback value**. It's used for the test send, and on a real send whenever the mapped column is empty for a contact. You can't continue until all variables show a **Mapped** status.
## 3. Message preview & test
The **Message preview** panel on the right renders the template with your mapped values, as a real SMS bubble. Click **Send test** to send a real test message using your fallback values.
Test messages are sent immediately, regardless of your campaign's scheduled send time. Use them to catch truncation or broken links before sending to your full audience.
## 4. UTM tracking
UTM tracking is enabled by default. Scroll down to review or edit the parameters appended to any links in your message.
| Parameter | Description | Default |
| ----------------------------- | --------------------------------------- | ------------------ |
| **Source** (`utm_source`) | Identifies the traffic source | `comify` |
| **Medium** (`utm_medium`) | The marketing medium | `sms` |
| **Campaign** (`utm_campaign`) | The specific campaign name | Your campaign name |
| **Content** (`utm_content`) | Differentiates links within the message | Template name |
| **ID** (`utm_id`) | Unique campaign identifier | Auto-generated |
| **Term** (`utm_term`) | Keyword term (optional) | Off by default |
Each parameter is individually toggleable, and an example tagged link is shown at the bottom so you can verify the full URL before sending.
## Next step
Once your template is selected, every variable shows **Mapped**, and UTM tags look right, click **Continue** to move to [Scheduling](/campaigns/sms/scheduling).
# Performance
Source: https://docs.comify.io/campaigns/sms/performance
Track delivery and failures for your SMS campaign.
Once your SMS campaign has been sent, the Performance view gives you a real-time picture of delivery — from the row menu (**⋮**) on any campaign in the Campaign Manager list, click **View performance**.
## Performance metrics
SMS performance tracks delivery outcomes:
| Metric | Description |
| ------------- | ----------------------------------------------------------------------------- |
| **Sent** | Number of messages handed off for delivery |
| **Delivered** | Messages successfully delivered to the recipient's device, with delivery rate |
| **Failed** | Messages that could not be delivered, with failure rate |
Carriers don't report back on whether a text was opened or acted on, so Comify can't show engagement metrics for SMS. If you need click tracking, use the UTM parameters configured in [Content](/campaigns/sms/content) and check your web analytics.
## Performance funnel
The **Performance funnel** visualizes delivery outcomes:
**Sent → Delivered → Failed**
Each stage shows the count and percentage, so you can spot delivery issues (e.g. invalid numbers, carrier filtering) at a glance.
## Campaign statuses
| Status | Meaning |
| -------------- | ------------------------------------------ |
| **Draft** | Campaign is being configured, not yet sent |
| **Scheduled** | Campaign is queued for a future send time |
| **Sending** | Campaign is actively being delivered |
| **Dispatched** | All messages have been sent |
A high failure rate often points to stale or invalid phone numbers in your audience list. Re-validate your list in [Lists](/audience/lists) before your next send.
# Scheduling
Source: https://docs.comify.io/campaigns/sms/scheduling
Choose when your SMS campaign gets sent, and configure delivery retries.
The Scheduling step lets you decide when your campaign is delivered, plus configure delivery retries.
## Send options
Delivers to the whole audience immediately after you confirm.
Pick a **Send date**, **Send time**, and **Time zone**. Must be at least 5 minutes in the future.
Coming soon — Comify will send to each recipient at their most-engaged hour, based on their profile.
Scheduled sends must be at least 5 minutes in the future.
The time zone defaults to your account timezone (e.g. Asia/Kolkata IST).
## Delivery options
Below the send options, you can configure:
| Option | Description |
| ---------------------- | ------------------------------------------------------------------------------------------------------------------------ |
| **Retry failed sends** | When enabled, Comify automatically retries recipients whose send fails due to transient provider errors. Off by default. |
## Sending
Click **Send now** or **Schedule Campaign** to finish. You'll return to the Campaign Manager list, where the status updates to **Sending**/**Sent** or **Scheduled** accordingly.
## Next step
After your campaign sends, head to [Performance](/campaigns/sms/performance) to monitor delivery.
# Audience
Source: https://docs.comify.io/campaigns/whatsapp/audience
Define who receives your WhatsApp campaign.
The first step in creating a WhatsApp campaign is selecting your audience — the group of contacts who will receive the message.
This is a dashboard walkthrough. Screens are captured from **cloud.comify.io** → **Template Manager → Campaign Manager**.
Want to build your audience ahead of time, or keep it updating automatically? See [Segments](/audience/segments) (dynamic) or [Lists](/audience/lists) (static, from a rule or CSV) — built from the Audience List page — then select it here.
## Getting started
From **Template Manager → Campaign Manager**, click **Create campaign**, give it a **Name** and optional **Description**, and select **WhatsApp** under **Channel**. Click **Create campaign** to open the wizard — the stepper shows **Audience → Content → Scheduling**, and you land on the Audience step.
## Attaching an audience
Upload a new CSV file with your contacts. Rows are validated before the campaign launches. Each column in your CSV becomes an available field for variable mapping in the next step.
Pick from a previously uploaded audience list or a dynamic segment. New uploads appear as "pending" until processing completes.
### Selecting an existing list
Click **Select existing** to open the audience picker, with two tabs:
| Tab | What it shows |
| ---------------------- | --------------------------------------------------------------------------------------------------------------------- |
| **Campaign audiences** | Lists you've uploaded or built from a rule, with Contacts, With Email, Status, and Updated. |
| **Comify segment** | Dynamic segments (built with **+ New**) that re-qualify members at send time — the member count shown is an estimate. |
Click **Select** next to the list you want.
## After attaching an audience
Once an audience is attached, Comify shows a summary of the list, its **Available fields**, and a sample of the first rows so you can verify the data before proceeding.
| Field | Description |
| ------------------ | ----------------------------------------------------------------------------- |
| **Total Audience** | Total number of contacts in the list |
| **Sendable** | Contacts with a valid, opted-in WhatsApp number who will receive the campaign |
| **Excluded** | Contacts skipped due to missing/invalid number, no opt-in, or suppression |
Contacts without a valid WhatsApp-registered number, or who haven't opted in, are automatically excluded from sends. See the [WhatsApp Business Policy](https://www.whatsapp.com/legal/business-policy/) for consent requirements.
## Next step
Once your audience is attached and the sendable count looks right, click **Continue** to move to [Content](/campaigns/whatsapp/content).
# Content
Source: https://docs.comify.io/campaigns/whatsapp/content
Choose an approved WhatsApp template, map variables by component, test your message, and configure UTM tracking.
The Content step is where you pick your WhatsApp template and map its variables. WhatsApp is the one channel where the template itself must already be **approved by Meta** before it can be used in a campaign.
## 1. Select a template
Click **Choose template** to open the picker.
**Campaigns can only use approved templates** — Comify pulls the list directly from your connected **WABA** or **Karix** account. If a template you need isn't listed, check its approval status in [Create a WhatsApp Template](/platform/create_whatsapp_template). Click **Preview** on any card to see how it renders, or **Create template** to open the template builder in a new tab.
## 2. Variable mapping
WhatsApp variables are **grouped by the template component they belong to** — for example **Recipient** (the contact number), **Header** (e.g. an image URL), **Body**, and **Buttons** — each shown as a collapsible section with its variable count.
For each variable, choose a **Map to field** from your audience's available columns.
A **fallback is optional**. When set, it's used for the test send, and on a real send whenever the mapped column is empty for a contact. A variable only needs its **Map to field** set to show as **Mapped** — a fallback isn't required to proceed.
## 3. Message preview & test
The **Message preview** on the right renders the actual WhatsApp bubble — header media, body text, and any buttons (e.g. a "Visit Website" link) — exactly as the recipient will see it. Click **Send test** to send a real test message using your mapped/fallback values.
Test messages are sent immediately, regardless of your campaign's scheduled send time. Use them to confirm header media loads and buttons link correctly before sending to your full audience.
## 4. UTM tracking
UTM tracking is enabled by default, applied to any links in the template's buttons.
| Parameter | Description | Default |
| ----------------------------- | --------------------------------------- | ------------------ |
| **Source** (`utm_source`) | Identifies the traffic source | `comify` |
| **Medium** (`utm_medium`) | The marketing medium | `whatsapp` |
| **Campaign** (`utm_campaign`) | The specific campaign name | Your campaign name |
| **Content** (`utm_content`) | Differentiates links within the message | Template name |
| **ID** (`utm_id`) | Unique campaign identifier | Auto-generated |
| **Term** (`utm_term`) | Keyword term (optional) | Off by default |
Each parameter is individually toggleable, and an example tagged link is shown at the bottom so you can verify the full URL before sending.
## Next step
Once your template is selected, variables are mapped, and UTM tags look right, click **Continue** to move to [Scheduling](/campaigns/whatsapp/scheduling).
# Performance
Source: https://docs.comify.io/campaigns/whatsapp/performance
Track delivery, read receipts, clicks, and conversions for your WhatsApp campaign.
Once your WhatsApp campaign has been sent, the Performance view gives you a real-time picture of how it's doing — from the row menu (**⋮**) on any campaign in the Campaign Manager list, click **View performance**.
## Performance metrics
The Performance section shows six metrics at a glance:
| Metric | Description |
| ------------- | ------------------------------------------------------------------------------- |
| **Sent** | Number of messages handed off for delivery |
| **Delivered** | Messages successfully delivered to the recipient's device, with delivery rate |
| **Read** | Messages the recipient opened, based on WhatsApp's read receipt, with read rate |
| **Clicks** | Recipients who clicked a button or link in the message, with click rate |
| **Converted** | Recipients who completed the tracked goal action, with conversion rate |
| **Failed** | Messages that could not be delivered, with failure rate |
WhatsApp read receipts mean Comify can report **Read** directly, rather than inferring engagement the way other channels do.
## Performance funnel
The **Performance funnel** visualizes how contacts move through the campaign lifecycle:
**Sent → Delivered → Read → Clicks → Converted**
Each stage shows the count and percentage, so you can immediately spot where drop-off is happening — e.g. high delivery but low read rate, or good reads with few clicks.
## Campaign statuses
| Status | Meaning |
| -------------- | ------------------------------------------ |
| **Draft** | Campaign is being configured, not yet sent |
| **Scheduled** | Campaign is queued for a future send time |
| **Sending** | Campaign is actively being delivered |
| **Dispatched** | All messages have been sent |
If you configured UTM parameters in the [Content](/campaigns/whatsapp/content) step, cross-reference your click stats with Google Analytics for a complete picture of post-click behaviour.
# Scheduling
Source: https://docs.comify.io/campaigns/whatsapp/scheduling
Choose when your WhatsApp campaign gets sent, and configure delivery retries.
The Scheduling step lets you decide when your campaign is delivered, plus configure delivery retries.
## Send options
Delivers to the whole audience immediately after you confirm.
Pick a **Send date**, **Send time**, and **Time zone**. Must be at least 5 minutes in the future.
Coming soon — Comify will send to each recipient at their most-engaged hour, based on their profile.
Scheduled sends must be at least 5 minutes in the future.
The time zone defaults to your account timezone (e.g. Asia/Kolkata IST).
## Delivery options
Below the send options, you can configure:
| Option | Description |
| ---------------------- | ------------------------------------------------------------------------------------------------------------------------ |
| **Retry failed sends** | When enabled, Comify automatically retries recipients whose send fails due to transient provider errors. Off by default. |
## Sending
Click **Send now** or **Schedule Campaign** to finish. You'll return to the Campaign Manager list, where the status updates to **Sending**/**Dispatched** or **Scheduled** accordingly.
WhatsApp messaging outside an approved template — or to a customer who hasn't opted in — is subject to [WhatsApp's Business Policy](https://www.whatsapp.com/legal/business-policy/). Make sure your audience list only includes consented contacts.
## Next step
After your campaign sends, head to [Performance](/campaigns/whatsapp/performance) to monitor delivery and engagement.
# Comify Chrome Extension
Source: https://docs.comify.io/channels/email/chrome-extension
The Comify Chrome Extension allows you to instantly transform any Gmail email into a professionally designed template in your Comify account. This seamless integration empowers your team to capture high-performing email designs and repurpose them for your marketing campaigns and customer communications.
## Why Use the Chrome Extension?
The Comify Chrome Extension solves several key challenges when working with email templates:
* **Save Time and Resources**: Eliminate the need to manually recreate email designs from scratch or hire designers for every template.
* **Capture Successful Designs**: When you receive a well-designed email that generates engagement, you can instantly save it as a template for your own campaigns.
* **Maintain Design Consistency**: Preserve all formatting, styles, images, and layouts exactly as they appear in the original email.
* **Simplify Workflow**: With just two clicks, transform any Gmail email into a ready-to-use template in your Comify account.
* **Improve Team Collaboration**: Anyone on your team can capture great email designs and make them available to the entire organization.
## Installation
1. Visit the [Chrome Web Store](https://chrome.google.com/webstore) and search for "Comify Chrome Extension"
2. Click **Add to Chrome** to install the extension
3. Once installed, you'll see the Comify icon in your Chrome extensions toolbar
## Setting Up the Extension
1. Click on the Comify Chrome extension icon in your browser toolbar
2. You'll be prompted to enter your Comify API Key
3. Enter your API Key and click **Save Settings**

## Syncing Emails to Comify
### Step 1: Open Gmail
Navigate to [Gmail](https://mail.google.com) and log in to your account.
### Step 2: Select an Email
Open the email you want to sync to Comify. This can be from your inbox, sent items, or any other folder.
### Step 3: Sync to Comify
1. With the email open, click on the Comify Chrome extension icon in your browser toolbar
2. Click the **Sync to Comify** button in the extension popup
3. You'll see a confirmation message when the email has been successfully synced

## Accessing Synced Email Templates
Once you've synced an email to Comify, it will be available in your draft templates section:
1. Log in to your Comify account
2. Navigate to **[Manage Templates](https://cloud.comify.io/templates/manage) > Email > Draft Templates**
3. You'll see your synced email in the list of draft templates, it might take a few seconds to appear.
4. The template will include all content, formatting, and images from the original email
## Editing and Publishing Templates
Follow the documentation for [Editing and Publishing Email Templates](/channels/email/editing-and-publishing-templates) for more details.
## Use Cases
### Marketing Teams
* Quickly save competitor email designs for inspiration
* Archive successful campaign emails from other brands
* Build a library of design patterns and layouts
### Customer Success Teams
* Create templates from customer onboarding emails
* Save support response templates from high-performing agents
* Standardize customer communication formats
### Product Teams
* Capture effective product announcement emails
* Save user engagement emails from other products
* Create templates for feature release communications
## Best Practices
* Sync emails that have well-designed layouts for the best results
* Clean up synced templates by removing any unnecessary content before publishing
* Organize your templates with proper naming conventions for easy access
* Preview your templates before making them live
## Troubleshooting
### Extension Not Connecting
* Ensure you're entering the correct Comify credentials
* Try refreshing the Gmail page after installing the extension
# Overview
Source: https://docs.comify.io/channels/email/overview
Learn how to use Comify's email channel to send personalized emails.
The Email Channel from Comify empowers businesses to create and deliver personalized emails to customers efficiently. With over 4.3 billion email users worldwide, email remains one of the most effective communication channels for businesses. Whether sending transactional emails, marketing campaigns, or customer support messages, Comify's email integration streamlines the entire process from creation to delivery and analysis.
## Why Choose Comify for Email?
Email continues to be a critical component of customer communication strategies for several compelling reasons:
* **Universal Reach**: Email is accessible to users across all demographics and regions
* **Reliability**: Messages are delivered directly to user inboxes for guaranteed visibility
* **Permanence**: Unlike ephemeral messages, emails can be saved and referenced later
* **Rich Content**: Support for HTML, images, and interactive elements enables engaging communications
* **Automation Potential**: Easily trigger emails based on customer actions or scheduled campaigns
Comify transforms traditional email communication by adding AI-powered creation, seamless integrations, and robust analytics—allowing you to focus on strategy rather than implementation details.
## Key Features
Comify's email channel offers a comprehensive suite of features designed to enhance your customer communication:
### AI-Powered Email Creation
Create professional, personalized email content 10x faster using Comify's AI assistant. Generate compelling copy, subject lines, and calls-to-action without extensive writing or design skills.
### Pre-Built Templates
Access a library of customizable email templates for various use cases, from order confirmations to promotional campaigns, ensuring consistent branding and messaging.
### Journey Automation
Trigger emails automatically based on customer actions or specific events in your system. Create sophisticated communication flows that deliver the right message at the right time.
### Product Catalog Integration
Seamlessly incorporate product information, images, and pricing into your emails. Cross-channel communication capabilities allow you to maintain consistent product information across all customer touchpoints.
### Contextual Conversations
Enhance engagement with rich visuals, interactive elements, and quick-reply options that encourage audience action and create an interactive experience.
### Real-Time Analytics
Monitor delivery rates, open rates, click-through rates, and other key metrics through comprehensive dashboards. Gain actionable insights to continuously improve your email performance.
## Email Service Providers
Comify integrates with multiple industry-leading email service providers, giving you the flexibility to choose the one that best meets your needs:
* [Mailtrap](/channels/email/providers/mailtrap): A reliable solution for sending transactional and marketing emails
* [SendGrid](/channels/email/providers/sendgrid): A cloud-based email service designed for reliable delivery and scalability
* [Mailgun](/channels/email/providers/mailgun): A developer-friendly email API service
* [Amazon SES](/channels/email/providers/amazon-ses): A cost-effective email service built on Amazon's reliable infrastructure
* [SMTP](/channels/email/providers/smtp): Connect to any custom SMTP server for maximum flexibility
## Getting Started
To begin using Comify's email channel:
1. Configure an email service provider in your Comify dashboard
2. Create email templates using the visual editor or HTML
3. Implement the API calls in your application to trigger emails
4. Monitor performance through the analytics dashboard
For detailed instructions on setting up specific providers, refer to the corresponding provider documentation.
## Implementing Email in Your Application
After configuring your email provider and creating templates, you can trigger emails using Comify's API. Here's a simple example:
```javascript theme={null}
const { Comify } = require('comify-node')
const comm = new Comify('COMIFY_API_KEY')
comm.triggerComm('order_confirmation_email',{
"order_id": "123455",
"billing": {
"customerEmail": "customer@example.com",
"customerName": "Jane Doe"
}
}, 'email')
```
This code triggers an email using the 'order\_confirmation\_email' template with customer information and order details provided in the payload.
# Brevo
Source: https://docs.comify.io/channels/email/providers/brevo
Learn how to send emails via Brevo using Comify.
The Brevo provider (formerly Sendinblue) enables you to deliver professional transactional emails to your customers through the Comify Platform. With a single API integration, you can create seamless multi-channel communication experiences.
## Getting Started
Implementing the Brevo email provider requires three primary steps: creating a Brevo account, generating a Brevo API key, and configuring the Brevo integration within your Comify platform.
## Creating a Brevo Account
Follow these steps to set up your Brevo account:
1. Visit [Brevo's official website](https://www.brevo.com/) and select "Sign Up Free".
2. Enter all required information to create your account.
3. Complete the security verification process for your email address.
4. Once verification is complete, you'll be directed to your Brevo dashboard.
5. Follow the onboarding process to set up your sender identity and complete your account setup.
## Creating a Brevo API Key
Follow these steps to generate and secure your Brevo API key:
1. Once logged into your Brevo account, click on your name at the top-right side of the screen.
2. Click on SMTP & API from the dropdown menu.
3. Under the API Keys tab, click "Generate a new API key".
4. Assign a descriptive name to your key (e.g., "Comify Integration") for easy identification.
5. Click Generate to create your key.
6. Immediately copy and securely store your API key. Important: For security purposes, Brevo displays this key only once.
## Creating a Comify API Key
Before configuring the Brevo integration, you'll need to generate a Comify API key for authentication:
1. Access your Comify account dashboard.
2. Navigate to the API Keys management section at [https://cloud.comify.io/settings/api-keys](https://cloud.comify.io/settings/api-keys).
3. Select "Generate API Key" if not already generated.
4. Provide a clear, descriptive name for your key (e.g., "Brevo Integration") to facilitate future management.
5. Copy and store this API key in a secure location. You'll use this key in your application code to authenticate requests to the Comify platform.
## Configuring Brevo Integration in Comify
To establish the connection between Comify and Brevo:
1. Sign in to your Comify platform dashboard.
2. Navigate to Integration Store > Add Integration > E-mail.
3. From the available email service providers, select Brevo.
4. Enter the Brevo API key you generated earlier.
5. Configure any additional provider-specific settings according to your requirements.
6. Click Save to finalize the integration.

## Creating Email Templates
After successfully configuring the Brevo integration, you can design email templates directly within the Comify platform:
1. Navigate to the [Manage Templates](https://cloud.comify.io/templates/manage) section in your Comify dashboard.
2. Select the `Email` tab from the available channel options.
3. Click `Create Template` to begin the design process.
4. Choose from multiple template creation methods based on your preference and skill level:
* **AI-Assisted Design**: Utilize the `AI Writer` feature in the Email Editor section for automated content generation.
* **Manual HTML Editing**: Select `Switch to HTML` in the Email Editor for direct code editing.
* **Import Existing Templates**: Use the Chrome extension to copy HTML from existing templates for reuse in Comify.
## Sending Email Templates
Implement the following code examples in your application to trigger email template delivery:
```javascript theme={null}
const { Comify } = require('comify-node')
const comm = new Comify('COMIFY_API_KEY')
comm.triggerComm('email_template_name',{
"order_id" : "123455",
"billing" : {
"customerEmail" : "contact@comify.io",
"customerName" : "Comify"
}
}, 'email')
```
```javascript theme={null}
const fetch = require('node-fetch');
const apiKey = 'YOUR_COMIFY_API_KEY';
const url = 'https://commify.transify.tech/v1/comm';
const payload = {
name: 'email_template_name',
payload: {
order_id: '123455',
billing: {
customerEmail: 'contact@comify.io',
customerName: 'Comify'
}
},
type: 'email'
};
fetch(url, {
method: 'POST',
headers: {
'Authorization': `ApiKey ${apiKey}`,
'Content-Type': 'application/json'
},
body: JSON.stringify(payload)
})
.then(response => response.json())
.then(data => console.log(data))
.catch(error => console.error('Error:', error));
```
```python theme={null}
import requests
api_key = 'YOUR_COMIFY_API_KEY'
url = 'https://commify.transify.tech/v1/comm'
headers = {
'Authorization': f'ApiKey {api_key}',
'Content-Type': 'application/json'
}
payload = {
'name': 'email_template_name',
'payload': {
'order_id': '123455',
'billing': {
'customerEmail': 'contact@comify.io',
'customerName': 'Comify'
}
},
'type': 'email'
}
response = requests.post(url, headers=headers, json=payload)
print(response.json())
```
```ruby theme={null}
require 'net/http'
require 'uri'
require 'json'
api_key = 'YOUR_COMIFY_API_KEY'
url = URI.parse('https://commify.transify.tech/v1/comm')
payload = {
name: 'email_template_name',
payload: {
order_id: '123455',
billing: {
customerEmail: 'contact@comify.io',
customerName: 'Comify'
}
},
type: 'email'
}
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url.request_uri)
request['Authorization'] = "ApiKey #{api_key}"
request['Content-Type'] = 'application/json'
request.body = payload.to_json
response = http.request(request)
puts response.body
```
```php theme={null}
'email_template_name',
'payload' => [
'order_id' => '123455',
'billing' => [
'customerEmail' => 'contact@comify.io',
'customerName' => 'Comify'
]
],
'type' => 'email'
];
$ch = curl_init($url);
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
curl_setopt($ch, CURLOPT_POST, true);
curl_setopt($ch, CURLOPT_POSTFIELDS, json_encode($payload));
curl_setopt($ch, CURLOPT_HTTPHEADER, [
'Authorization: ApiKey ' . $api_key,
'Content-Type: application/json'
]);
$response = curl_exec($ch);
$err = curl_error($ch);
curl_close($ch);
if ($err) {
echo "cURL Error: " . $err;
} else {
echo $response;
}
```
```go theme={null}
package main
import (
"bytes"
"encoding/json"
"fmt"
"io/ioutil"
"net/http"
)
func main() {
apiKey := "YOUR_COMIFY_API_KEY"
url := "https://commify.transify.tech/v1/comm"
// Create the payload structure
type Billing struct {
CustomerEmail string `json:"customerEmail"`
CustomerName string `json:"customerName"`
}
type PayloadData struct {
OrderID string `json:"order_id"`
Billing Billing `json:"billing"`
}
type RequestPayload struct {
Name string `json:"name"`
Payload PayloadData `json:"payload"`
Type string `json:"type"`
}
data := RequestPayload{
Name: "email_template_name",
Payload: PayloadData{
OrderID: "123455",
Billing: Billing{
CustomerEmail: "contact@comify.io",
CustomerName: "Comify",
},
},
Type: "email",
}
payloadBytes, err := json.Marshal(data)
if err != nil {
fmt.Println("Error marshalling JSON:", err)
return
}
req, err := http.NewRequest("POST", url, bytes.NewBuffer(payloadBytes))
if err != nil {
fmt.Println("Error creating request:", err)
return
}
req.Header.Set("Authorization", "ApiKey "+apiKey)
req.Header.Set("Content-Type", "application/json")
client := &http.Client{}
resp, err := client.Do(req)
if err != nil {
fmt.Println("Error sending request:", err)
return
}
defer resp.Body.Close()
body, err := ioutil.ReadAll(resp.Body)
if err != nil {
fmt.Println("Error reading response:", err)
return
}
fmt.Println("Response:", string(body))
}
```
```bash theme={null}
curl -X POST 'https://commify.transify.tech/v1/comm' \
-H 'Authorization: ApiKey YOUR_COMIFY_API_KEY' \
-H 'Content-Type: application/json' \
-d '{
"name": "email_template_name",
"payload": {
"order_id": "123455",
"billing": {
"customerEmail": "contact@comify.io",
"customerName": "Comify"
}
},
"type": "email"
}'
```
Upon successful API request processing, you will receive a response containing a unique requestId and confirmation message:
```json theme={null}
{
"requestId": "016e9d9c-ea29-455c-bf2e-a703e96482fb",
"message": "your request has been submitted"
}
```
Important: The API may return a success response even when there are underlying issues with your request. For comprehensive delivery monitoring and troubleshooting, we recommend reviewing the complete request logs in the [Activity Feed](https://cloud.comify.io/monitor/activity) dashboard.
# Freshdesk
Source: https://docs.comify.io/channels/email/providers/freshdesk
# Gmail
Source: https://docs.comify.io/channels/email/providers/gmail
Learn how to send emails via Gmail using Comify.
You can use the Gmail provider to send transactional emails to your customers using the Comify Platform with a single API to create multi-channel experiences.
## Getting Started
To use the Gmail provider in the email channel, you will need to create a Gmail account, create an app password to the Gmail integration on the Comify platform.
## Creating a Gmail app password
To create a Gmail app password, follow these steps:
1. Go to [Google Account](https://accounts.google.com/), sign in with your Gmail account.
2. Navigate to **Security** > **Manage 2-step verification**.
3. Click **Add an app password**.
4. Select **Other** and enter a name for the password.
5. Click **Generate Password** and copy the password.
6. Paste the password into the Comify platform.
## Using Comify Template Editor
Comify has its own email editor for writing email template. To send pre-made template in Gmail, use custom payload to override the template details.
```bash theme={null}
const { Comify } = require('comify-node')
const comm = new Comify('COMIFY_API_KEY')
comm.triggerComm('email_template_name',{
"order_id" : "123455",
"billing" : {
"customerEmail" : "contact@comify.io",
"customerName" : "Comify"
}
}, 'email')
```
```bash theme={null}
coming soon
```
```bash theme={null}
coming soon
```
```bash theme={null}
coming soon
```
```bash theme={null}
coming soon
```
```bash theme={null}
coming soon
```
```bash theme={null}
coming soon
```
# Mailtrap
Source: https://docs.comify.io/channels/email/providers/mailtrap
Learn how to send emails via Mailtrap using Comify.
The Mailtrap provider enables you to deliver professional transactional emails to your customers through the Comify Platform. With a single API integration, you can create seamless multi-channel communication experiences.
## Getting Started
Implementing the Mailtrap email provider requires three primary steps: creating a Mailtrap account, generating a Mailtrap API token, and configuring the Mailtrap integration within your Comify platform.
## Creating a Mailtrap Account
Follow these steps to set up your Mailtrap account:
1. Visit [Mailtrap's official website](https://mailtrap.io/) and select "Sign Up".
2. Enter all required information to create your account or sign up with your Google, GitHub, or Microsoft account.
3. Complete any additional verification process if prompted.
4. Once verification is complete, you'll be directed to your Mailtrap dashboard.
## Creating a Sending Domain
Before generating an API token, you'll need to set up and verify a sending domain:
1. In your Mailtrap dashboard, navigate to Email Sending > Sending Domains.
2. Click "Add Domain" and enter your domain name.
3. Follow the instructions to add and verify the required DNS records.
4. Wait for the domain verification to complete.
## Creating a Mailtrap API Token
Follow these steps to access and secure your Mailtrap API token:
1. In your Mailtrap dashboard, navigate to Settings in the left sidebar, then select API Tokens.
2. To add a new token, click the "Add Token" button in the upper right corner.
3. Enter a descriptive name for your token (e.g., "Comify Integration") for easy identification.
4. Assign appropriate permissions by checking the boxes in the corresponding access level columns. Make sure you have admin permissions on the domains you want to use.
5. Click the "Save" button and your new token will appear under the API Tokens main menu.
6. Alternatively, you can use the auto-created token per domain. When you create a domain, a token is automatically created and named based on the formula: \[domain name] + \[token] + \[token ID].
7. To find the token for a specific domain, go to Email Sending > Sending Domains, select your domain, click the "Integration" tab, and choose API or SMTP integration to view your token.
## Creating a Comify API Key
Before configuring the Mailtrap integration, you'll need to generate a Comify API key for authentication:
1. Access your Comify account dashboard.
2. Navigate to the API Keys management section at [https://cloud.comify.io/settings/api-keys](https://cloud.comify.io/settings/api-keys).
3. Select "Generate API Key" if not already generated.
4. Provide a clear, descriptive name for your key (e.g., "Mailtrap Integration") to facilitate future management.
5. Copy and store this API key in a secure location. You'll use this key in your application code to authenticate requests to the Comify platform.
## Configuring Mailtrap Integration in Comify
To establish the connection between Comify and Mailtrap:
1. Sign in to your Comify platform dashboard.
2. Navigate to Integration Store > Add Integration > E-mail.
3. From the available email service providers, select Mailtrap.
4. Enter the Mailtrap API token you generated earlier.
5. Configure any additional provider-specific settings according to your requirements.
6. Click Save to finalize the integration.

## Creating Email Templates
After successfully configuring the Mailtrap integration, you can design email templates directly within the Comify platform:
1. Navigate to the [Manage Templates](https://cloud.comify.io/templates/manage) section in your Comify dashboard.
2. Select the `Email` tab from the available channel options.
3. Click `Create Template` to begin the design process.
4. Choose from multiple template creation methods based on your preference and skill level:
* **AI-Assisted Design**: Utilize the `AI Writer` feature in the Email Editor section for automated content generation.
* **Manual HTML Editing**: Select `Switch to HTML` in the Email Editor for direct code editing.
* **Import Existing Templates**: Use the Chrome extension to copy HTML from existing templates for reuse in Comify.
## Sending Email Templates
Implement the following code examples in your application to trigger email template delivery:
```javascript theme={null}
const { Comify } = require('comify-node')
const comm = new Comify('COMIFY_API_KEY')
comm.triggerComm('email_template_name',{
"order_id" : "123455",
"billing" : {
"customerEmail" : "contact@comify.io",
"customerName" : "Comify"
}
}, 'email')
```
```javascript theme={null}
const fetch = require('node-fetch');
const apiKey = 'YOUR_COMIFY_API_KEY';
const url = 'https://commify.transify.tech/v1/comm';
const payload = {
name: 'email_template_name',
payload: {
order_id: '123455',
billing: {
customerEmail: 'contact@comify.io',
customerName: 'Comify'
}
},
type: 'email'
};
fetch(url, {
method: 'POST',
headers: {
'Authorization': `ApiKey ${apiKey}`,
'Content-Type': 'application/json'
},
body: JSON.stringify(payload)
})
.then(response => response.json())
.then(data => console.log(data))
.catch(error => console.error('Error:', error));
```
```python theme={null}
import requests
api_key = 'YOUR_COMIFY_API_KEY'
url = 'https://commify.transify.tech/v1/comm'
headers = {
'Authorization': f'ApiKey {api_key}',
'Content-Type': 'application/json'
}
payload = {
'name': 'email_template_name',
'payload': {
'order_id': '123455',
'billing': {
'customerEmail': 'contact@comify.io',
'customerName': 'Comify'
}
},
'type': 'email'
}
response = requests.post(url, headers=headers, json=payload)
print(response.json())
```
```ruby theme={null}
require 'net/http'
require 'uri'
require 'json'
api_key = 'YOUR_COMIFY_API_KEY'
url = URI.parse('https://commify.transify.tech/v1/comm')
payload = {
name: 'email_template_name',
payload: {
order_id: '123455',
billing: {
customerEmail: 'contact@comify.io',
customerName: 'Comify'
}
},
type: 'email'
}
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url.request_uri)
request['Authorization'] = "ApiKey #{api_key}"
request['Content-Type'] = 'application/json'
request.body = payload.to_json
response = http.request(request)
puts response.body
```
```php theme={null}
'email_template_name',
'payload' => [
'order_id' => '123455',
'billing' => [
'customerEmail' => 'contact@comify.io',
'customerName' => 'Comify'
]
],
'type' => 'email'
];
$ch = curl_init($url);
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
curl_setopt($ch, CURLOPT_POST, true);
curl_setopt($ch, CURLOPT_POSTFIELDS, json_encode($payload));
curl_setopt($ch, CURLOPT_HTTPHEADER, [
'Authorization: ApiKey ' . $api_key,
'Content-Type: application/json'
]);
$response = curl_exec($ch);
$err = curl_error($ch);
curl_close($ch);
if ($err) {
echo "cURL Error: " . $err;
} else {
echo $response;
}
```
```go theme={null}
package main
import (
"bytes"
"encoding/json"
"fmt"
"io/ioutil"
"net/http"
)
func main() {
apiKey := "YOUR_COMIFY_API_KEY"
url := "https://commify.transify.tech/v1/comm"
// Create the payload structure
type Billing struct {
CustomerEmail string `json:"customerEmail"`
CustomerName string `json:"customerName"`
}
type PayloadData struct {
OrderID string `json:"order_id"`
Billing Billing `json:"billing"`
}
type RequestPayload struct {
Name string `json:"name"`
Payload PayloadData `json:"payload"`
Type string `json:"type"`
}
data := RequestPayload{
Name: "email_template_name",
Payload: PayloadData{
OrderID: "123455",
Billing: Billing{
CustomerEmail: "contact@comify.io",
CustomerName: "Comify",
},
},
Type: "email",
}
payloadBytes, err := json.Marshal(data)
if err != nil {
fmt.Println("Error marshalling JSON:", err)
return
}
req, err := http.NewRequest("POST", url, bytes.NewBuffer(payloadBytes))
if err != nil {
fmt.Println("Error creating request:", err)
return
}
req.Header.Set("Authorization", "ApiKey "+apiKey)
req.Header.Set("Content-Type", "application/json")
client := &http.Client{}
resp, err := client.Do(req)
if err != nil {
fmt.Println("Error sending request:", err)
return
}
defer resp.Body.Close()
body, err := ioutil.ReadAll(resp.Body)
if err != nil {
fmt.Println("Error reading response:", err)
return
}
fmt.Println("Response:", string(body))
}
```
```bash theme={null}
curl -X POST 'https://commify.transify.tech/v1/comm' \
-H 'Authorization: ApiKey YOUR_COMIFY_API_KEY' \
-H 'Content-Type: application/json' \
-d '{
"name": "email_template_name",
"payload": {
"order_id": "123455",
"billing": {
"customerEmail": "contact@comify.io",
"customerName": "Comify"
}
},
"type": "email"
}'
```
Upon successful API request processing, you will receive a response containing a unique requestId and confirmation message:
```json theme={null}
{
"requestId": "016e9d9c-ea29-455c-bf2e-a703e96482fb",
"message": "your request has been submitted"
}
```
Important: The API may return a success response even when there are underlying issues with your request. For comprehensive delivery monitoring and troubleshooting, we recommend reviewing the complete request logs in the [Activity Feed](https://cloud.comify.io/monitor/activity) dashboard.
# Mandrill
Source: https://docs.comify.io/channels/email/providers/mandrill
Learn how to send emails via Mandrill using Comify.
The Mandrill provider (Mailchimp Transactional Email) enables you to deliver professional transactional emails to your customers through the Comify Platform. With a single API integration, you can create seamless multi-channel communication experiences.
## Getting Started
Implementing the Mandrill email provider requires three primary steps: creating a Mandrill account, generating a Mandrill API key, and configuring the Mandrill integration within your Comify platform.
## Creating a Mandrill Account
Follow these steps to set up your Mandrill account:
1. If you already have a Mailchimp account with a Standard plan or higher, you can enable Mailchimp Transactional (formerly Mandrill) from the [Monthly plans or credits page](https://us1.admin.mailchimp.com/account/billing-plan/).
2. If you don't have a Mailchimp account, visit [Mailchimp's official website](https://mailchimp.com/) and select "Sign Up Free".
3. Enter all required information to create your account.
4. Complete the security verification process for both your email address and phone number.
5. Once verification is complete, upgrade to a Standard plan or higher to access Mailchimp Transactional features.
6. Navigate to the Transactional Email section in your Mailchimp dashboard to set up your sending domain.
## Creating a Mandrill API Key
Follow these steps to generate and secure your Mandrill API key:
1. Navigate to the [Settings](https://mandrillapp.com/settings) of your Mailchimp Transactional account.
2. Look for the API Keys section and click "Create New Key".
3. Assign a descriptive name to your key (e.g., "Comify Integration") for easy identification.
4. Copy the generated key immediately and store it in a secure location. Important: For security purposes, you won't be able to see or copy the key once you finish generating it.
5. Remember that your Mandrill API key provides full account access, so keep it secure, as you would a password.
## Creating a Comify API Key
Before configuring the Mandrill integration, you'll need to generate a Comify API key for authentication:
1. Access your Comify account dashboard.
2. Navigate to the API Keys management section at [https://cloud.comify.io/settings/api-keys](https://cloud.comify.io/settings/api-keys).
3. Select "Generate API Key" if not already generated.
4. Provide a clear, descriptive name for your key (e.g., "Mandrill Integration") to facilitate future management.
5. Copy and store this API key in a secure location. You'll use this key in your application code to authenticate requests to the Comify platform.
## Configuring Mandrill Integration in Comify
To establish the connection between Comify and Mandrill:
1. Sign in to your Comify platform dashboard.
2. Navigate to Integration Store > Add Integration > E-mail.
3. From the available email service providers, select Mandrill.
4. Enter the Mandrill API key you generated earlier.
5. Configure any additional provider-specific settings according to your requirements.
6. Click Save to finalize the integration.

## Creating Email Templates
After successfully configuring the Mandrill integration, you can design email templates directly within the Comify platform:
1. Navigate to the [Manage Templates](https://cloud.comify.io/templates/manage) section in your Comify dashboard.
2. Select the `Email` tab from the available channel options.
3. Click `Create Template` to begin the design process.
4. Choose from multiple template creation methods based on your preference and skill level:
* **AI-Assisted Design**: Utilize the `AI Writer` feature in the Email Editor section for automated content generation.
* **Manual HTML Editing**: Select `Switch to HTML` in the Email Editor for direct code editing.
* **Import Existing Templates**: Use the Chrome extension to copy HTML from existing templates for reuse in Comify.
## Sending Email Templates
Implement the following code examples in your application to trigger email template delivery:
```javascript theme={null}
const { Comify } = require('comify-node')
const comm = new Comify('COMIFY_API_KEY')
comm.triggerComm('email_template_name',{
"order_id" : "123455",
"billing" : {
"customerEmail" : "contact@comify.io",
"customerName" : "Comify"
}
}, 'email')
```
```javascript theme={null}
const fetch = require('node-fetch');
const apiKey = 'YOUR_COMIFY_API_KEY';
const url = 'https://commify.transify.tech/v1/comm';
const payload = {
name: 'email_template_name',
payload: {
order_id: '123455',
billing: {
customerEmail: 'contact@comify.io',
customerName: 'Comify'
}
},
type: 'email'
};
fetch(url, {
method: 'POST',
headers: {
'Authorization': `ApiKey ${apiKey}`,
'Content-Type': 'application/json'
},
body: JSON.stringify(payload)
})
.then(response => response.json())
.then(data => console.log(data))
.catch(error => console.error('Error:', error));
```
```python theme={null}
import requests
api_key = 'YOUR_COMIFY_API_KEY'
url = 'https://commify.transify.tech/v1/comm'
headers = {
'Authorization': f'ApiKey {api_key}',
'Content-Type': 'application/json'
}
payload = {
'name': 'email_template_name',
'payload': {
'order_id': '123455',
'billing': {
'customerEmail': 'contact@comify.io',
'customerName': 'Comify'
}
},
'type': 'email'
}
response = requests.post(url, headers=headers, json=payload)
print(response.json())
```
```ruby theme={null}
require 'net/http'
require 'uri'
require 'json'
api_key = 'YOUR_COMIFY_API_KEY'
url = URI.parse('https://commify.transify.tech/v1/comm')
payload = {
name: 'email_template_name',
payload: {
order_id: '123455',
billing: {
customerEmail: 'contact@comify.io',
customerName: 'Comify'
}
},
type: 'email'
}
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url.request_uri)
request['Authorization'] = "ApiKey #{api_key}"
request['Content-Type'] = 'application/json'
request.body = payload.to_json
response = http.request(request)
puts response.body
```
```php theme={null}
'email_template_name',
'payload' => [
'order_id' => '123455',
'billing' => [
'customerEmail' => 'contact@comify.io',
'customerName' => 'Comify'
]
],
'type' => 'email'
];
$ch = curl_init($url);
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
curl_setopt($ch, CURLOPT_POST, true);
curl_setopt($ch, CURLOPT_POSTFIELDS, json_encode($payload));
curl_setopt($ch, CURLOPT_HTTPHEADER, [
'Authorization: ApiKey ' . $api_key,
'Content-Type: application/json'
]);
$response = curl_exec($ch);
curl_close($ch);
$result = json_decode($response, true);
print_r($result);
?>
```
```go theme={null}
package main
import (
"bytes"
"encoding/json"
"fmt"
"io/ioutil"
"net/http"
)
type BillingInfo struct {
CustomerEmail string `json:"customerEmail"`
CustomerName string `json:"customerName"`
}
type PayloadData struct {
OrderID string `json:"order_id"`
Billing BillingInfo `json:"billing"`
}
type RequestPayload struct {
Name string `json:"name"`
Payload PayloadData `json:"payload"`
Type string `json:"type"`
}
func main() {
apiKey := "YOUR_COMIFY_API_KEY"
url := "https://commify.transify.tech/v1/comm"
payload := RequestPayload{
Name: "email_template_name",
Payload: PayloadData{
OrderID: "123455",
Billing: BillingInfo{
CustomerEmail: "contact@comify.io",
CustomerName: "Comify",
},
},
Type: "email",
}
jsonData, err := json.Marshal(payload)
if err != nil {
fmt.Println("Error marshalling JSON:", err)
return
}
req, err := http.NewRequest("POST", url, bytes.NewBuffer(jsonData))
if err != nil {
fmt.Println("Error creating request:", err)
return
}
req.Header.Set("Authorization", "ApiKey "+apiKey)
req.Header.Set("Content-Type", "application/json")
client := &http.Client{}
resp, err := client.Do(req)
if err != nil {
fmt.Println("Error sending request:", err)
return
}
defer resp.Body.Close()
body, err := ioutil.ReadAll(resp.Body)
if err != nil {
fmt.Println("Error reading response:", err)
return
}
fmt.Println("Response:", string(body))
}
```
```bash theme={null}
curl -X POST 'https://commify.transify.tech/v1/comm' \
-H 'Authorization: ApiKey YOUR_COMIFY_API_KEY' \
-H 'Content-Type: application/json' \
-d '{
"name": "email_template_name",
"payload": {
"order_id": "123455",
"billing": {
"customerEmail": "contact@comify.io",
"customerName": "Comify"
}
},
"type": "email"
}'
```
Upon successful API request processing, you will receive a response containing a unique requestId and confirmation message:
```json theme={null}
{
"requestId": "016e9d9c-ea29-455c-bf2e-a703e96482fb",
"message": "your request has been submitted"
}
```
Important: The API may return a success response even when there are underlying issues with your request. For comprehensive delivery monitoring and troubleshooting, we recommend reviewing the complete request logs in the [Activity Feed](https://cloud.comify.io/monitor/activity) dashboard.
# SendGrid
Source: https://docs.comify.io/channels/email/providers/sendgrid
Learn how to send emails via SendGrid using Comify.
The SendGrid provider enables you to deliver professional transactional emails to your customers through the Comify Platform. With a single API integration, you can create seamless multi-channel communication experiences.
## Getting Started
Implementing the SendGrid email provider requires three primary steps: creating a SendGrid account, generating a SendGrid API key, and configuring the SendGrid integration within your Comify platform.
## Creating a SendGrid Account
Follow these steps to set up your SendGrid account:
1. Visit [SendGrid's official website](https://sendgrid.com/) and select "Start for Free".
2. Enter all required information to create your account. Note that this user will serve as the primary SendGrid account administrator.
3. Complete the security verification process for both your email address and phone number.
4. Store the provided Recovery Code in a secure location for account recovery purposes.
5. Once verification is complete, select "Create new account" to proceed with your initial login and finalize your account setup.
6. Use the SendGrid setup wizard to configure your sender identities. Access this guide at [app.sendgrid.com/guide](https://app.sendgrid.com/guide).
## Creating a SendGrid API Key
Follow these steps to generate and secure your SendGrid API key:
1. In your SendGrid dashboard, navigate to Settings in the left sidebar, then select API Keys.
2. Click the Create API Key button.
3. Assign a descriptive name to your key (e.g., "Comify Integration") for easy identification.
4. Select the appropriate access level. For enhanced security, we recommend using Restricted Access with only the minimum permissions necessary.
5. When using Restricted Access, carefully select only the specific permissions required for email delivery functionality.
6. Click Create & View to generate your key.
7. Immediately copy and securely store your API key. Important: For security purposes, SendGrid displays this key only once.
## Creating a Comify API Key
Before configuring the SendGrid integration, you'll need to generate a Comify API key for authentication:
1. Access your Comify account dashboard.
2. Navigate to the API Keys management section at [https://cloud.comify.io/settings/api-keys](https://cloud.comify.io/settings/api-keys).
3. Select "Generate API Key" if not already generated.
4. Provide a clear, descriptive name for your key (e.g., "SendGrid Integration") to facilitate future management.
5. Copy and store this API key in a secure location. You'll use this key in your application code to authenticate requests to the Comify platform.
## Configuring SendGrid Integration in Comify
To establish the connection between Comify and SendGrid:
1. Sign in to your Comify platform dashboard.
2. Navigate to Integration Store > Add Integration > E-mail.
3. From the available email service providers, select SendGrid.
4. Enter the SendGrid API key you generated earlier.
5. Configure any additional provider-specific settings according to your requirements.
6. Click Save to finalize the integration.

## Creating Email Templates
After successfully configuring the SendGrid integration, you can design email templates directly within the Comify platform:
1. Navigate to the [Manage Templates](https://cloud.comify.io/templates/manage) section in your Comify dashboard.
2. Select the `Email` tab from the available channel options.
3. Click `Create Template` to begin the design process.
4. Choose from multiple template creation methods based on your preference and skill level:
* **AI-Assisted Design**: Utilize the `AI Writer` feature in the Email Editor section for automated content generation.
* **Manual HTML Editing**: Select `Switch to HTML` in the Email Editor for direct code editing.
* **Import Existing Templates**: Use the Chrome extension to copy HTML from existing templates for reuse in Comify.
## Sending Email Templates
Implement the following code examples in your application to trigger email template delivery:
```javascript theme={null}
const { Comify } = require('comify-node')
const comm = new Comify('COMIFY_API_KEY')
comm.triggerComm('email_template_name',{
"order_id" : "123455",
"billing" : {
"customerEmail" : "contact@comify.io",
"customerName" : "Comify"
}
}, 'email')
```
```javascript theme={null}
const fetch = require('node-fetch');
const apiKey = 'YOUR_COMIFY_API_KEY';
const url = 'https://commify.transify.tech/v1/comm';
const payload = {
name: 'email_template_name',
payload: {
order_id: '123455',
billing: {
customerEmail: 'contact@comify.io',
customerName: 'Comify'
}
},
type: 'email'
};
fetch(url, {
method: 'POST',
headers: {
'Authorization': `ApiKey ${apiKey}`,
'Content-Type': 'application/json'
},
body: JSON.stringify(payload)
})
.then(response => response.json())
.then(data => console.log(data))
.catch(error => console.error('Error:', error));
```
```python theme={null}
import requests
api_key = 'YOUR_COMIFY_API_KEY'
url = 'https://commify.transify.tech/v1/comm'
headers = {
'Authorization': f'ApiKey {api_key}',
'Content-Type': 'application/json'
}
payload = {
'name': 'email_template_name',
'payload': {
'order_id': '123455',
'billing': {
'customerEmail': 'contact@comify.io',
'customerName': 'Comify'
}
},
'type': 'email'
}
response = requests.post(url, headers=headers, json=payload)
print(response.json())
```
```ruby theme={null}
require 'net/http'
require 'uri'
require 'json'
api_key = 'YOUR_COMIFY_API_KEY'
url = URI.parse('https://commify.transify.tech/v1/comm')
payload = {
name: 'email_template_name',
payload: {
order_id: '123455',
billing: {
customerEmail: 'contact@comify.io',
customerName: 'Comify'
}
},
type: 'email'
}
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url.request_uri)
request['Authorization'] = "ApiKey #{api_key}"
request['Content-Type'] = 'application/json'
request.body = payload.to_json
response = http.request(request)
puts response.body
```
```php theme={null}
'email_template_name',
'payload' => [
'order_id' => '123455',
'billing' => [
'customerEmail' => 'contact@comify.io',
'customerName' => 'Comify'
]
],
'type' => 'email'
];
$ch = curl_init($url);
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
curl_setopt($ch, CURLOPT_POST, true);
curl_setopt($ch, CURLOPT_POSTFIELDS, json_encode($payload));
curl_setopt($ch, CURLOPT_HTTPHEADER, [
'Authorization: ApiKey ' . $api_key,
'Content-Type: application/json'
]);
$response = curl_exec($ch);
curl_close($ch);
echo $response;
?>
```
```go theme={null}
package main
import (
"bytes"
"encoding/json"
"fmt"
"io/ioutil"
"net/http"
)
func main() {
apiKey := "YOUR_COMIFY_API_KEY"
url := "https://commify.transify.tech/v1/comm"
type Billing struct {
CustomerEmail string `json:"customerEmail"`
CustomerName string `json:"customerName"`
}
type PayloadData struct {
OrderID string `json:"order_id"`
Billing Billing `json:"billing"`
}
type RequestBody struct {
Name string `json:"name"`
Payload PayloadData `json:"payload"`
Type string `json:"type"`
}
data := RequestBody{
Name: "email_template_name",
Payload: PayloadData{
OrderID: "123455",
Billing: Billing{
CustomerEmail: "contact@comify.io",
CustomerName: "Comify",
},
},
Type: "email",
}
jsonData, err := json.Marshal(data)
if err != nil {
fmt.Println("Error marshalling JSON:", err)
return
}
req, err := http.NewRequest("POST", url, bytes.NewBuffer(jsonData))
if err != nil {
fmt.Println("Error creating request:", err)
return
}
req.Header.Set("Authorization", "ApiKey "+apiKey)
req.Header.Set("Content-Type", "application/json")
client := &http.Client{}
resp, err := client.Do(req)
if err != nil {
fmt.Println("Error sending request:", err)
return
}
defer resp.Body.Close()
body, err := ioutil.ReadAll(resp.Body)
if err != nil {
fmt.Println("Error reading response:", err)
return
}
fmt.Println(string(body))
}
```
```java theme={null}
import java.io.OutputStream;
import java.net.HttpURLConnection;
import java.net.URL;
import java.nio.charset.StandardCharsets;
import java.util.Scanner;
public class ComifySendEmail {
public static void main(String[] args) {
try {
String apiKey = "YOUR_COMIFY_API_KEY";
URL url = new URL("https://commify.transify.tech/v1/comm");
String jsonPayload = "{"
+ "\"name\": \"email_template_name\","
+ "\"payload\": {"
+ " \"order_id\": \"123455\","
+ " \"billing\": {"
+ " \"customerEmail\": \"contact@comify.io\","
+ " \"customerName\": \"Comify\""
+ " }"
+ "},"
+ "\"type\": \"email\""
+ "}";
HttpURLConnection connection = (HttpURLConnection) url.openConnection();
connection.setRequestMethod("POST");
connection.setRequestProperty("Authorization", "ApiKey " + apiKey);
connection.setRequestProperty("Content-Type", "application/json");
connection.setDoOutput(true);
try (OutputStream os = connection.getOutputStream()) {
byte[] input = jsonPayload.getBytes(StandardCharsets.UTF_8);
os.write(input, 0, input.length);
}
int responseCode = connection.getResponseCode();
System.out.println("Response Code: " + responseCode);
try (Scanner scanner = new Scanner(connection.getInputStream(), StandardCharsets.UTF_8.name())) {
String responseBody = scanner.useDelimiter("\\A").next();
System.out.println(responseBody);
}
} catch (Exception e) {
e.printStackTrace();
}
}
}
```
```bash theme={null}
curl -X POST 'https://commify.transify.tech/v1/comm' \
-H 'Authorization: ApiKey YOUR_COMIFY_API_KEY' \
-H 'Content-Type: application/json' \
-d '{
"name": "email_template_name",
"payload": {
"order_id": "123455",
"billing": {
"customerEmail": "contact@comify.io",
"customerName": "Comify"
}
},
"type": "email"
}'
```
Upon successful API request processing, you will receive a response containing a unique requestId and confirmation message:
```json theme={null}
{
"requestId": "016e9d9c-ea29-455c-bf2e-a703e96482fb",
"message": "your request has been submitted"
}
```
Important: The API may return a success response even when there are underlying issues with your request. For comprehensive delivery monitoring and troubleshooting, we recommend reviewing the complete request logs in the [Activity Feed](https://cloud.comify.io/monitor/activity) dashboard.
# SMTP
Source: https://docs.comify.io/channels/email/providers/smtp
Learn how to send emails via SMTP using Comify.
The SMTP provider enables you to deliver professional transactional emails to your customers through the Comify Platform using your own SMTP server. With a single API integration, you can create seamless multi-channel communication experiences while maintaining full control over your email infrastructure.
## Getting Started
Implementing the SMTP email provider requires two primary steps: configuring your SMTP server details and setting up the SMTP integration within your Comify platform.
## SMTP Server Requirements
To use the SMTP provider with Comify, you'll need access to an SMTP server with the following information:
1. **SMTP Host**: The address of your SMTP server (e.g., smtp.example.com)
2. **SMTP Port**: The port used for SMTP communication (common ports include 25, 465, 587)
3. **Protocol**: The security protocol used (TLS is recommended for secure email transmission)
4. **Username**: Your SMTP server authentication username
5. **Password**: Your SMTP server authentication password
## Creating a Comify API Key
Before configuring the SMTP integration, you'll need to generate a Comify API key for authentication:
1. Access your Comify account dashboard.
2. Navigate to the API Keys management section at [https://cloud.comify.io/settings/api-keys](https://cloud.comify.io/settings/api-keys).
3. Select "Generate API Key" if not already generated.
4. Provide a clear, descriptive name for your key (e.g., "SMTP Integration") to facilitate future management.
5. Copy and store this API key in a secure location. You'll use this key in your application code to authenticate requests to the Comify platform.
## Configuring SMTP Integration in Comify
To establish the connection between Comify and your SMTP server:
1. Sign in to your Comify platform dashboard.
2. Navigate to Integration Store > Add Integration > E-mail.
3. From the available email service providers, select SMTP.
4. Complete the following fields in the configuration form:
* **Identifier**: A unique name to identify this SMTP integration (e.g., "company\_smtp")
* **Description**: Optional description of the SMTP integration
* **Host**: Your SMTP server address (e.g., smtp.example.com)
* **Port**: The SMTP server port (e.g., 587)
* **Protocol**: Select TLS from the dropdown menu
* **Username**: Your SMTP server username
* **Password**: Your SMTP server password
5. Click Save Integration to finalize the setup.

## Creating Email Templates
After successfully configuring the SMTP integration, you can design email templates directly within the Comify platform:
1. Navigate to the [Manage Templates](https://cloud.comify.io/templates/manage) section in your Comify dashboard.
2. Select the `Email` tab from the available channel options.
3. Click `Create Template` to begin the design process.
4. Choose from multiple template creation methods based on your preference and skill level:
* **AI-Assisted Design**: Utilize the `AI Writer` feature in the Email Editor section for automated content generation.
* **Manual HTML Editing**: Select `Switch to HTML` in the Email Editor for direct code editing.
* **Import Existing Templates**: Use the Chrome extension to copy HTML from existing templates for reuse in Comify.
## Sending Email Templates
Implement the following code examples in your application to trigger email template delivery:
```javascript theme={null}
const { Comify } = require('comify-node')
const comm = new Comify('COMIFY_API_KEY')
comm.triggerComm('email_template_name',{
"order_id" : "123455",
"billing" : {
"customerEmail" : "contact@comify.io",
"customerName" : "Comify"
}
}, 'email')
```
```javascript theme={null}
const fetch = require('node-fetch');
const apiKey = 'YOUR_COMIFY_API_KEY';
const url = 'https://commify.transify.tech/v1/comm';
const payload = {
name: 'email_template_name',
payload: {
order_id: '123455',
billing: {
customerEmail: 'contact@comify.io',
customerName: 'Comify'
}
},
type: 'email'
};
fetch(url, {
method: 'POST',
headers: {
'Authorization': `ApiKey ${apiKey}`,
'Content-Type': 'application/json'
},
body: JSON.stringify(payload)
})
.then(response => response.json())
.then(data => console.log(data))
.catch(error => console.error('Error:', error));
```
```python theme={null}
import requests
api_key = 'YOUR_COMIFY_API_KEY'
url = 'https://commify.transify.tech/v1/comm'
headers = {
'Authorization': f'ApiKey {api_key}',
'Content-Type': 'application/json'
}
payload = {
'name': 'email_template_name',
'payload': {
'order_id': '123455',
'billing': {
'customerEmail': 'contact@comify.io',
'customerName': 'Comify'
}
},
'type': 'email'
}
response = requests.post(url, headers=headers, json=payload)
print(response.json())
```
```ruby theme={null}
require 'net/http'
require 'uri'
require 'json'
api_key = 'YOUR_COMIFY_API_KEY'
url = URI.parse('https://commify.transify.tech/v1/comm')
payload = {
name: 'email_template_name',
payload: {
order_id: '123455',
billing: {
customerEmail: 'contact@comify.io',
customerName: 'Comify'
}
},
type: 'email'
}
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url.request_uri)
request['Authorization'] = "ApiKey #{api_key}"
request['Content-Type'] = 'application/json'
request.body = payload.to_json
response = http.request(request)
puts response.body
```
```php theme={null}
'email_template_name',
'payload' => [
'order_id' => '123455',
'billing' => [
'customerEmail' => 'contact@comify.io',
'customerName' => 'Comify'
]
],
'type' => 'email'
];
$ch = curl_init($url);
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
curl_setopt($ch, CURLOPT_POST, true);
curl_setopt($ch, CURLOPT_POSTFIELDS, json_encode($payload));
curl_setopt($ch, CURLOPT_HTTPHEADER, [
'Authorization: ApiKey ' . $api_key,
'Content-Type: application/json'
]);
$response = curl_exec($ch);
curl_close($ch);
echo $response;
```
```go theme={null}
package main
import (
"bytes"
"encoding/json"
"fmt"
"io/ioutil"
"net/http"
)
func main() {
apiKey := "YOUR_COMIFY_API_KEY"
url := "https://commify.transify.tech/v1/comm"
type Billing struct {
CustomerEmail string `json:"customerEmail"`
CustomerName string `json:"customerName"`
}
type PayloadData struct {
OrderID string `json:"order_id"`
Billing Billing `json:"billing"`
}
type RequestPayload struct {
Name string `json:"name"`
Payload PayloadData `json:"payload"`
Type string `json:"type"`
}
payload := RequestPayload{
Name: "email_template_name",
Payload: PayloadData{
OrderID: "123455",
Billing: Billing{
CustomerEmail: "contact@comify.io",
CustomerName: "Comify",
},
},
Type: "email",
}
jsonPayload, err := json.Marshal(payload)
if err != nil {
fmt.Println("Error marshaling JSON:", err)
return
}
req, err := http.NewRequest("POST", url, bytes.NewBuffer(jsonPayload))
if err != nil {
fmt.Println("Error creating request:", err)
return
}
req.Header.Set("Authorization", "ApiKey "+apiKey)
req.Header.Set("Content-Type", "application/json")
client := &http.Client{}
resp, err := client.Do(req)
if err != nil {
fmt.Println("Error sending request:", err)
return
}
defer resp.Body.Close()
body, err := ioutil.ReadAll(resp.Body)
if err != nil {
fmt.Println("Error reading response:", err)
return
}
fmt.Println("Response:", string(body))
}
```
```bash theme={null}
curl -X POST 'https://commify.transify.tech/v1/comm' \
-H 'Authorization: ApiKey YOUR_COMIFY_API_KEY' \
-H 'Content-Type: application/json' \
-d '{
"name": "email_template_name",
"payload": {
"order_id": "123455",
"billing": {
"customerEmail": "contact@comify.io",
"customerName": "Comify"
}
},
"type": "email"
}'
```
Upon successful API request processing, you will receive a response containing a unique requestId and confirmation message:
```json theme={null}
{
"success": true,
"message": "Communication triggered successfully",
"data": {
"requestId": "0a6a4a9c-6e5b-4b5c-9c4d-3e2f1c8b7a6e"
}
}
```
## Best Practices for SMTP Email Delivery
1. **Authenticate Your Domain**: Set up SPF, DKIM, and DMARC records for your sending domain to improve deliverability.
2. **Monitor Bounce Rates**: Keep track of email bounces and remove invalid addresses from your lists.
3. **Use TLS Encryption**: Always configure your SMTP integration to use TLS for secure email transmission.
4. **Test Before Sending**: Utilize Comify's preview functionality to test your emails before sending them to customers.
5. **Implement Dynamic Content**: Leverage Comify's template variables to personalize your emails for each recipient.
# Overview
Source: https://docs.comify.io/channels/push/overview
# FCM
Source: https://docs.comify.io/channels/push/providers/fcm
# OneSignal
Source: https://docs.comify.io/channels/push/providers/onesignal
# AWS SNS
Source: https://docs.comify.io/channels/push/providers/sns
# Overview
Source: https://docs.comify.io/channels/sms/overview
# Gupshup
Source: https://docs.comify.io/channels/sms/providers/gupshup
# Msg91
Source: https://docs.comify.io/channels/sms/providers/msg91
# Twilio
Source: https://docs.comify.io/channels/sms/providers/twilio
# Overview
Source: https://docs.comify.io/channels/whatsapp/overview
# Aisensy
Source: https://docs.comify.io/channels/whatsapp/providers/aisensy
# Meta WhatsApp Business API
Source: https://docs.comify.io/channels/whatsapp/providers/meta
Learn how to send WhatsApp messages via Meta's official WhatsApp Business API using Comify.
The Meta WhatsApp Business API provider enables you to deliver professional WhatsApp messages to your customers through the Comify Platform. As the official API from the creators of WhatsApp, it provides direct access to WhatsApp's 2 billion+ user base with enterprise-grade reliability and features.
## Getting Started
Implementing the Meta WhatsApp Business API requires four primary steps: creating a Meta Business account, setting up a WhatsApp Business API account, generating API access tokens, and configuring the Meta integration within your Comify platform.
## Creating a Meta Business Account
Follow these steps to set up your Meta Business account:
1. Visit [Meta Business Suite](https://business.facebook.com/) and click "Create Account".
2. Enter your business information and complete the registration process.
3. Verify your business email address.
4. Once verification is complete, you'll be directed to your Meta Business dashboard.
## Setting Up WhatsApp Business API with Meta
Before generating API access tokens, you'll need to set up your WhatsApp Business API account:
1. In your Meta Business dashboard, navigate to "Business Settings" > "Accounts" > "WhatsApp Accounts".
2. Click "Add" to create a new WhatsApp Business Account (WABA).
3. Follow the guided process to connect your business phone number with the WhatsApp Business API.
4. Complete the business verification process, which may include providing business documentation.
5. Set up your WhatsApp Business profile with your business information, logo, and description.
## Business Requirements for WhatsApp Business API
Before proceeding, ensure your business meets these requirements:
1. **Valid Business Identity**: Your business must be officially registered and possess a clear identity that Meta can verify.
2. **WhatsApp Business Policy Adherence**: Ensure your business operations align with [WhatsApp's Business Policy](https://www.whatsapp.com/legal/business-policy/).
3. **Customer Consent**: You must obtain explicit consent from customers before reaching out to them via WhatsApp.
4. **Dedicated Phone Number**: A dedicated phone number that will serve as your business's WhatsApp identity.
5. **Business Verification**: Your business must complete Meta's business verification process.
6. **Payment Method**: A valid payment method must be set up in your Business Manager account.
## Creating API Access Tokens
Follow these steps to generate and secure your WhatsApp API access tokens:
1. Go to the [Meta Developers Portal](https://developers.facebook.com/) and create a business app if you don't have one.
2. In your app's dashboard, add the "WhatsApp Business API" product.
3. Navigate to "WhatsApp" > "API Setup" and follow the steps to configure your app.
4. You'll need to generate a System User access token or a Business Integration System User access token:
* **System User Access Token**: For developers accessing their own business data
* **Business Integration System User Access Token**: For tech providers accessing customer data
5. Ensure your tokens have the following permissions:
* `whatsapp_business_management`
* `whatsapp_business_messaging`
* `business_management`
6. Copy the generated token immediately and store it in a secure location.
7. Note: Access tokens are app and user-specific. Never share the token or post it publicly.
## Creating a Comify API Key
Before configuring the Meta WhatsApp integration, you'll need to generate a Comify API key for authentication:
1. Access your Comify account dashboard.
2. Navigate to the API Keys management section at [https://cloud.comify.io/settings/api-keys](https://cloud.comify.io/settings/api-keys).
3. Select "Generate API Key" if not already generated.
4. Provide a clear, descriptive name for your key (e.g., "Meta WhatsApp Integration") to facilitate future management.
5. Copy and store this API key in a secure location. You'll use this key in your application code to authenticate requests to the Comify platform.
## Configuring Meta WhatsApp Integration in Comify
To establish the connection between Comify and Meta's WhatsApp Business API:
1. Sign in to your Comify platform dashboard.
2. Navigate to Integration Store > Add Integration > WhatsApp.
3. From the available WhatsApp service providers, select Meta.
4. Enter the WhatsApp API access token you generated earlier.
5. Provide your WhatsApp Business Account ID (found in your Meta Business Manager).
6. Configure any additional provider-specific settings according to your requirements.
7. Click Save to finalize the integration.

## Creating WhatsApp Message Templates
After successfully configuring the Meta WhatsApp integration, you'll need to create and get approval for WhatsApp message templates:
1. Navigate to the [Manage Templates](https://cloud.comify.io/templates/manage) section in your Comify dashboard.
2. Select the `WhatsApp` tab from the available channel options.
3. Click `Create Template` to begin the design process.
4. Choose from multiple template creation methods:
* **Pre-approved Templates**: Select from WhatsApp's pre-approved template categories.
* **Custom Templates**: Create your own template following WhatsApp's guidelines.
* **AI-Assisted Design**: Utilize the `AI Writer` feature for automated content generation that follows WhatsApp's guidelines.
5. Add variables to personalize your templates where needed (e.g., customer name, order number).
6. Submit your template for WhatsApp approval (this may take 24-48 hours).
## Understanding WhatsApp Message Types
WhatsApp Business API supports several types of messages:
1. **Session Messages**: Responses to customer-initiated conversations (24-hour window).
2. **Template Messages**: Pre-approved message templates for business-initiated conversations.
3. **Interactive Messages**: Messages with buttons, list messages, or reply buttons.
4. **Media Messages**: Images, documents, videos, and other rich media content.
5. **Authentication Templates**: One-time passwords or verification codes.
## Sending WhatsApp Templates
Implement the following code examples in your application to trigger WhatsApp template delivery:
```javascript theme={null}
const { Comify } = require('comify-node')
const comm = new Comify('COMIFY_API_KEY')
comm.triggerComm('whatsapp_template_name',{
"order_id" : "123455",
"customer" : {
"phoneNumber" : "919876543210", // with country code
"customerName" : "Comify"
}
}, 'whatsappTemplate')
```
```javascript theme={null}
const fetch = require('node-fetch');
const apiKey = 'YOUR_COMIFY_API_KEY';
const url = 'https://commify.transify.tech/v1/comm';
const payload = {
name: 'whatsapp_template_name',
payload: {
order_id: '123455',
customer: {
phoneNumber: '919876543210', // with country code
customerName: 'Comify'
}
},
type: 'whatsappTemplate'
};
fetch(url, {
method: 'POST',
headers: {
'Authorization': `ApiKey ${apiKey}`,
'Content-Type': 'application/json'
},
body: JSON.stringify(payload)
})
.then(response => response.json())
.then(data => console.log(data))
.catch(error => console.error('Error:', error));
```
```python theme={null}
import requests
api_key = 'YOUR_COMIFY_API_KEY'
url = 'https://commify.transify.tech/v1/comm'
headers = {
'Authorization': f'ApiKey {api_key}',
'Content-Type': 'application/json'
}
payload = {
'name': 'whatsapp_template_name',
'payload': {
'order_id': '123455',
'customer': {
'phoneNumber': '919876543210', # with country code
'customerName': 'Comify'
}
},
'type': 'whatsappTemplate'
}
response = requests.post(url, headers=headers, json=payload)
print(response.json())
```
```ruby theme={null}
require 'net/http'
require 'uri'
require 'json'
api_key = 'YOUR_COMIFY_API_KEY'
url = URI.parse('https://commify.transify.tech/v1/comm')
payload = {
name: 'whatsapp_template_name',
payload: {
order_id: '123455',
customer: {
phoneNumber: '919876543210', # with country code
customerName: 'Comify'
}
},
type: 'whatsappTemplate'
}
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url.request_uri)
request['Authorization'] = "ApiKey #{api_key}"
request['Content-Type'] = 'application/json'
request.body = payload.to_json
response = http.request(request)
puts response.body
```
```php theme={null}
'whatsapp_template_name',
'payload' => [
'order_id' => '123455',
'customer' => [
'phoneNumber' => '919876543210', // with country code
'customerName' => 'Comify'
]
],
'type' => 'whatsappTemplate'
];
$ch = curl_init($url);
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
curl_setopt($ch, CURLOPT_POST, true);
curl_setopt($ch, CURLOPT_POSTFIELDS, json_encode($payload));
curl_setopt($ch, CURLOPT_HTTPHEADER, [
'Authorization: ApiKey ' . $apiKey,
'Content-Type: application/json'
]);
$response = curl_exec($ch);
curl_close($ch);
echo $response;
```
```go theme={null}
package main
import (
"bytes"
"encoding/json"
"fmt"
"io/ioutil"
"net/http"
)
func main() {
apiKey := "YOUR_COMIFY_API_KEY"
url := "https://commify.transify.tech/v1/comm"
type Customer struct {
PhoneNumber string `json:"phoneNumber"`
CustomerName string `json:"customerName"`
}
type PayloadData struct {
OrderID string `json:"order_id"`
Customer Customer `json:"customer"`
}
type RequestBody struct {
Name string `json:"name"`
Payload PayloadData `json:"payload"`
Type string `json:"type"`
}
data := RequestBody{
Name: "whatsapp_template_name",
Payload: PayloadData{
OrderID: "123455",
Customer: Customer{
PhoneNumber: "919876543210", // with country code
CustomerName: "Comify",
},
},
Type: "whatsappTemplate",
}
jsonData, err := json.Marshal(data)
if err != nil {
fmt.Println("Error marshalling JSON:", err)
return
}
req, err := http.NewRequest("POST", url, bytes.NewBuffer(jsonData))
if err != nil {
fmt.Println("Error creating request:", err)
return
}
req.Header.Set("Authorization", "ApiKey "+apiKey)
req.Header.Set("Content-Type", "application/json")
client := &http.Client{}
resp, err := client.Do(req)
if err != nil {
fmt.Println("Error sending request:", err)
return
}
defer resp.Body.Close()
body, err := ioutil.ReadAll(resp.Body)
if err != nil {
fmt.Println("Error reading response:", err)
return
}
fmt.Println(string(body))
}
```
```bash theme={null}
curl -X POST \
https://commify.transify.tech/v1/comm \
-H "Authorization: ApiKey YOUR_COMIFY_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"name": "whatsapp_template_name",
"payload": {
"order_id": "123455",
"customer": {
"phoneNumber": "919876543210",
"customerName": "Comify"
}
},
"type": "whatsappTemplate"
}'
```
Upon successful API request processing, you will receive a response containing a unique requestId and confirmation message:
```json theme={null}
{
"requestId": "016e9d9c-ea29-455c-bf2e-a703e96482fb",
"message": "your request has been submitted"
}
```
Important: The API may return a success response even when there are underlying issues with your request. For comprehensive delivery monitoring and troubleshooting, we recommend reviewing the complete request logs in the [Activity Feed](https://cloud.comify.io/monitor/activity) dashboard.
# WATI
Source: https://docs.comify.io/channels/whatsapp/providers/wati
Learn how to send WhatsApp messages via WATI using Comify.
The WATI provider enables you to deliver professional WhatsApp messages to your customers through the Comify Platform. With a single API integration, you can create seamless multi-channel communication experiences leveraging WhatsApp's 2 billion+ user base.
## Getting Started
Implementing the WATI WhatsApp provider requires four primary steps: creating a WATI account, setting up the WhatsApp Business API, generating a WATI API token, and configuring the WATI integration within your Comify platform.
## Creating a WATI Account
Follow these steps to set up your WATI account:
1. Visit [WATI's official website](https://www.wati.io/) and select "Sign Up Free".
2. Enter all required information to create your account.
3. Complete any verification process if prompted.
4. Once verification is complete, you'll be directed to your WATI dashboard.
## Setting Up WhatsApp Business API with WATI
Before generating an API token, you'll need to set up your WhatsApp Business API:
1. In your WATI dashboard, navigate to the WhatsApp connection setup section.
2. Follow the guided process to connect your business number with the WhatsApp Business API.
3. WATI will guide you through the necessary Facebook Business Manager verification steps.
4. Complete the business verification process, which may include providing business documentation.
5. Set up your WhatsApp Business profile with your business information, logo, and description.
## Business Requirements for WhatsApp Business API
Before proceeding, ensure your business meets these requirements:
1. **Valid Business Identity**: Your business must be officially registered and possess a clear identity that WhatsApp can verify.
2. **WhatsApp Business Policy Adherence**: Ensure your business operations align with [WhatsApp's Business Policy](https://www.whatsapp.com/legal/business-policy/).
3. **Customer Consent**: You must obtain consent from customers before reaching out to them via WhatsApp.
4. **Dedicated Phone Number**: A dedicated phone number that will serve as your business's WhatsApp identity.
5. **Business Website**: A verifiable business website adds credibility and serves as a digital footprint.
## Creating a WATI API Token
Follow these steps to generate and secure your WATI API token:
1. In your WATI dashboard, navigate to the API section.
2. Look for the API token generation option (typically under "Settings" or "API Documentation").
3. The API token can be found under "API docs" in the WATI user interface.
4. Copy the generated token immediately and store it in a secure location.
5. Note: Access tokens are app and user-specific. Please do not share the token with anyone, nor post it publicly.
## Creating a Comify API Key
Before configuring the WATI integration, you'll need to generate a Comify API key for authentication:
1. Access your Comify account dashboard.
2. Navigate to the API Keys management section at [https://cloud.comify.io/settings/api-keys](https://cloud.comify.io/settings/api-keys).
3. Select "Generate API Key" if not already generated.
4. Provide a clear, descriptive name for your key (e.g., "WATI WhatsApp Integration") to facilitate future management.
5. Copy and store this API key in a secure location. You'll use this key in your application code to authenticate requests to the Comify platform.
## Configuring WATI Integration in Comify
To establish the connection between Comify and WATI:
1. Sign in to your Comify platform dashboard.
2. Navigate to Integration Store > Add Integration > WhatsApp.
3. From the available WhatsApp service providers, select WATI.
4. Enter the WATI API token you generated earlier.
5. Configure any additional provider-specific settings according to your requirements.
6. Click Save to finalize the integration.

## Creating WhatsApp Message Templates
After successfully configuring the WATI integration, you'll need to create and get approval for WhatsApp message templates:
1. Navigate to the [Manage Templates](https://cloud.comify.io/templates/manage) section in your Comify dashboard.
2. Select the `WhatsApp` tab from the available channel options.
3. Click `Create Template` to begin the design process.
4. Choose from multiple template creation methods:
* **Pre-approved Templates**: Select from WhatsApp's pre-approved template categories.
* **Custom Templates**: Create your own template following WhatsApp's guidelines.
* **AI-Assisted Design**: Utilize the `AI Writer` feature for automated content generation that follows WhatsApp's guidelines.
5. Add variables to personalize your templates where needed (e.g., customer name, order number).
6. Submit your template for WhatsApp approval (this may take 24-48 hours).
## Understanding WhatsApp Message Types
WhatsApp Business API supports several types of messages:
1. **Session Messages**: Responses to customer-initiated conversations (24-hour window).
2. **Template Messages**: Pre-approved message templates for business-initiated conversations.
3. **Interactive Messages**: Messages with buttons, list messages, or reply buttons.
4. **Media Messages**: Images, documents, videos, and other rich media content.
## Sending WhatsApp Templates
Implement the following code examples in your application to trigger WhatsApp template delivery:
```javascript theme={null}
const { Comify } = require('comify-node')
const comm = new Comify('COMIFY_API_KEY')
comm.triggerComm('whatsapp_template_name',{
"order_id" : "123455",
"customer" : {
"phoneNumber" : "919876543210", // with country code
"customerName" : "Comify"
}
}, 'whatsappTemplate')
```
```javascript theme={null}
const fetch = require('node-fetch');
const apiKey = 'YOUR_COMIFY_API_KEY';
const url = 'https://commify.transify.tech/v1/comm';
const payload = {
name: 'whatsapp_template_name',
payload: {
order_id: '123455',
customer: {
phoneNumber: '919876543210', // with country code
customerName: 'Comify'
}
},
type: 'whatsappTemplate'
};
fetch(url, {
method: 'POST',
headers: {
'Authorization': `ApiKey ${apiKey}`,
'Content-Type': 'application/json'
},
body: JSON.stringify(payload)
})
.then(response => response.json())
.then(data => console.log(data))
.catch(error => console.error('Error:', error));
```
```python theme={null}
import requests
api_key = 'YOUR_COMIFY_API_KEY'
url = 'https://commify.transify.tech/v1/comm'
headers = {
'Authorization': f'ApiKey {api_key}',
'Content-Type': 'application/json'
}
payload = {
'name': 'whatsapp_template_name',
'payload': {
'order_id': '123455',
'customer': {
'phoneNumber': '919876543210', # with country code
'customerName': 'Comify'
}
},
'type': 'whatsappTemplate'
}
response = requests.post(url, headers=headers, json=payload)
print(response.json())
```
```ruby theme={null}
require 'net/http'
require 'uri'
require 'json'
api_key = 'YOUR_COMIFY_API_KEY'
url = URI.parse('https://commify.transify.tech/v1/comm')
payload = {
name: 'whatsapp_template_name',
payload: {
order_id: '123455',
customer: {
phoneNumber: '919876543210', # with country code
customerName: 'Comify'
}
},
type: 'whatsappTemplate'
}
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url.request_uri)
request['Authorization'] = "ApiKey #{api_key}"
request['Content-Type'] = 'application/json'
request.body = payload.to_json
response = http.request(request)
puts response.body
```
```php theme={null}
'whatsapp_template_name',
'payload' => [
'order_id' => '123455',
'customer' => [
'phoneNumber' => '919876543210', // with country code
'customerName' => 'Comify'
]
],
'type' => 'whatsappTemplate'
];
$ch = curl_init($url);
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
curl_setopt($ch, CURLOPT_POST, true);
curl_setopt($ch, CURLOPT_POSTFIELDS, json_encode($payload));
curl_setopt($ch, CURLOPT_HTTPHEADER, [
'Authorization: ApiKey ' . $api_key,
'Content-Type: application/json'
]);
$response = curl_exec($ch);
$err = curl_error($ch);
curl_close($ch);
if ($err) {
echo "cURL Error: " . $err;
} else {
echo $response;
}
```
```go theme={null}
package main
import (
"bytes"
"encoding/json"
"fmt"
"io/ioutil"
"net/http"
)
func main() {
apiKey := "YOUR_COMIFY_API_KEY"
url := "https://commify.transify.tech/v1/comm"
// Create the payload structure
type Customer struct {
PhoneNumber string `json:"phoneNumber"`
CustomerName string `json:"customerName"`
}
type PayloadData struct {
OrderID string `json:"order_id"`
Customer Customer `json:"customer"`
}
type RequestPayload struct {
Name string `json:"name"`
Payload PayloadData `json:"payload"`
Type string `json:"type"`
}
data := RequestPayload{
Name: "whatsapp_template_name",
Payload: PayloadData{
OrderID: "123455",
Customer: Customer{
PhoneNumber: "919876543210", // with country code
CustomerName: "Comify",
},
},
Type: "whatsappTemplate",
}
payloadBytes, err := json.Marshal(data)
if err != nil {
fmt.Println("Error marshalling JSON:", err)
return
}
req, err := http.NewRequest("POST", url, bytes.NewBuffer(payloadBytes))
if err != nil {
fmt.Println("Error creating request:", err)
return
}
req.Header.Set("Authorization", "ApiKey "+apiKey)
req.Header.Set("Content-Type", "application/json")
client := &http.Client{}
resp, err := client.Do(req)
if err != nil {
fmt.Println("Error sending request:", err)
return
}
defer resp.Body.Close()
body, err := ioutil.ReadAll(resp.Body)
if err != nil {
fmt.Println("Error reading response:", err)
return
}
fmt.Println("Response:", string(body))
}
```
```bash theme={null}
curl -X POST 'https://commify.transify.tech/v1/comm' \
-H 'Authorization: ApiKey YOUR_COMIFY_API_KEY' \
-H 'Content-Type: application/json' \
-d '{
"name": "whatsapp_template_name",
"payload": {
"order_id": "123456",
"customer": {
"phoneNumber": "91xxxxxxxxxx",
"customerName": "John"
}
},
"type": "whatsappTemplate"
}'
```
Upon successful API request processing, you will receive a response containing a unique requestId and confirmation message:
```json theme={null}
{
"requestId": "016e9d9c-ea29-455c-bf2e-a703e96482fb",
"message": "your request has been submitted"
}
```
Important: The API may return a success response even when there are underlying issues with your request. For comprehensive delivery monitoring and troubleshooting, we recommend reviewing the complete request logs in the [Activity Feed](https://cloud.comify.io/monitor/activity) dashboard.
# What is Comify?
Source: https://docs.comify.io/introduction
Comify is an omnichannel communication infrastructure platform that greatly reduces the effort and complexity required to implement notifications your users will love, all without the need to build your own notification system.
We designed Comify with both developers and product teams in mind: it’s easy for developers to implement quickly, and simple for less-technical users to interact with and maintain content with a powerful intuitive dashboard.
Comify functions as an abstraction layer between your application and end users, and manages all aspects of notification workflow logic and delivery provider management.
### How does it work?
Managing notifications across multiple channels is painful. Each notification delivery provider has their own SDK, authentication methods, and API quirks. This complexity dramatically increases as you add additional logic such as delays, digests/batches, or multi-tiered notification approaches.
Comify abstracts away these complexities, and allows you to focus on building great user experiences while keeping your codebase simple and maintainable.
# Create an Email Template
Source: https://docs.comify.io/platform/create_email_template
Build an email template in the Comify dashboard with the Drag & Drop editor or raw HTML, then publish it for use in campaigns and triggered communications.
Email templates are reusable messages you design once and reference by name everywhere Comify sends email — [campaigns](/campaigns/content) and triggered communications. This guide walks the **exact dashboard flow**, then explains **every block (node)** in the Drag & Drop editor and how to use it.
This is a dashboard walkthrough — no code required. Screens below are captured from **cloud.comify.io**.
## Open the Email Templates workspace
From the left sidebar, open **Template Manager → Manage Templates → Email**. This opens the **Email Templates** list.
The list shows every template with a **Status** filter (**All**, **Draft**, **Live**), a search box, and the **Create Template** button. Only **Live** templates appear when you build a campaign.
## Create a template
In the top-right of the Email Templates list, click **Create Template**. The **Create Email Template** dialog opens.
Enter a **Template Name** (e.g. `welcome_onboarding` or `order_confirmation`) — this is the identifier used in campaigns and triggers. Then pick **Create using**:
| Option | Use it when |
| --------------- | ----------------------------------------------------------------------- |
| **Drag & Drop** | You want a visual editor with blocks (recommended for most users). |
| **HTML** | You already have coded HTML to paste, or need full control over markup. |
Click **Continue**. The editor opens in a new tab with the template in **Draft** status.
## The Drag & Drop editor
The editor has three regions: the **top bar** (actions), the **left panel** (Templates / Blocks / Sections), and the **canvas** where you drop blocks.
The top bar contains:
| Control | What it does |
| --------------------------- | ----------------------------------------------------------------------------------------------------------------- |
| **Back** | Returns to the Email Templates list. |
| **Draft / Unsaved Changes** | Status of the template. "Unsaved Changes" appears until you save. |
| **Test** | Sends a test email to your authenticated address (see [Send a test](#send-a-test)). |
| **Data Source** | Attaches a Payload so you can personalize with `{{variables}}` (see [Data Source](#data-source-personalization)). |
| **Settings** | Opens Template Settings — subject, sender, recipient, etc. (see [Template Settings](#template-settings)). |
| **Save Draft** | Saves your progress without publishing. |
| **Publish** | Makes the template **Live** so it can be used in campaigns. |
## Blocks (the building nodes)
Open the **Blocks** tab in the left panel to see every content block. **To use any block: drag it from the panel onto the canvas** (drop it on a **Drop here** zone). Once placed, select it to edit its content and styles.
Here is every block and how to use it:
| Block | What it is | How to use it |
| ------------------ | ------------------------------------------------- | ----------------------------------------------------------------------------------------------------- |
| **Text** | A paragraph of rich text. | Drag in, type your copy, format with the toolbar, and insert `{{variables}}` via **Personalization**. |
| **Button** | A call-to-action button. | Set the label and destination **Link**; style the color, padding, and radius in the properties panel. |
| **Image** | A single image. | Add an image URL or upload; set alt text and a click-through link. |
| **Logo** | Your brand logo block. | Point it at your logo image; typically placed in the header. |
| **Navbar** | A row of navigation links. | Add link items (e.g. Home, Shop, Contact) and their URLs for a top menu. |
| **Divider** | A horizontal rule. | Drag between blocks to visually separate sections; adjust thickness/color. |
| **Spacer** | Vertical empty space. | Drag in to add breathing room; adjust its height. |
| **Section** | A full-width container that holds columns/blocks. | Use as a structural wrapper to group and background-style a band of content. |
| **Column** | A multi-column layout inside a section. | Drag in to place blocks side by side (e.g. image left, text right). |
| **Table** | A data table. | Use for structured rows such as order line items; edit rows and cells. |
| **Products** | Product cards pulled from your catalog/payload. | Bind to product data to show images, names, and prices automatically. |
| **Recommendation** | Personalized product recommendations. | Insert a recommendations block driven by your data for cross-sell/upsell. |
| **Review** | A customer review/rating block. | Display social-proof content such as star ratings and quotes. |
| **Socials** | A row of social media icons. | Add your social profile links (Instagram, LinkedIn, etc.). |
| **Video** | A video thumbnail that links out. | Add the video URL; email clients show a clickable poster image. |
Blocks nest. When a block is selected, the breadcrumb at the top of the canvas shows its place in the structure — for example **Body › Section › Column › Text** — so you always know what you're editing.
### Editing a block
Select any block on the canvas to reveal its controls:
* A **floating toolbar** above the block: link, text formatting, alignment, AI assist, clear formatting, and **Personalization**. Icons to **duplicate** or **delete** the block sit on the right.
* The **left properties panel** with **Content**, **Link**, and **Styles** (font size, font family, colors, spacing, and more).
### Templates and Sections
The left panel has two more tabs that speed up building:
* **Templates** — start from a prebuilt, fully designed email and customize it.
* **Sections** — drag in prebuilt multi-block sections, filterable by **Header**, **Footer**, and **Products**.
## Data Source & personalization
To personalize content, first attach a **Data Source**. Click **Data Source** in the top bar and select a **Payload** — its fields become the tags you can insert.
Then, inside any text-bearing block (or the Subject), open **Personalization** and pick a field to insert a `{{variable}}`:
```
Hi {{name}}, your order {{order_id}} is confirmed.
```
At send time, each variable is filled from the mapped audience column (in a [campaign](/campaigns/content)) or from the trigger payload.
## Template Settings
Click **Settings** in the top bar to open **Template Settings**. This is where the email's delivery details live.
**Email Details**
| Field | Description |
| --------------------------------- | ------------------------------------------------------------------------------------------------------- |
| **Template Name** | The template's identifier. |
| **Subject** *(required)* | The subject line. Use **Personalize** to insert variables. |
| **Preheader Text** | The inbox preview snippet after the subject. Supports **Personalize**. |
| **Content Type** | **HTML** or **Text**. |
| **Transaction Type** *(required)* | **Transactional** or **Promotional** — classifies the email for deliverability and compliance purposes. |
| **ESP** | The email service provider used to send. |
| **Sender** *(required)* | The from address/name. |
| **Reply-To** | Where replies are routed. |
**Email Configuration** — bind these to fields from your selected payload:
| Field | Description |
| ---------------- | ------------------------------------------------ |
| **Recipient** | The payload field holding the recipient address. |
| **CC** / **BCC** | Optional carbon-copy fields. |
| **Attachments** | Optional payload field for file attachments. |
## Send a test
Click **Test** in the top bar. In the **Send Test Email** dialog, enter a **Subject** and choose a **Service Provider**, then **Send**. The test goes to your authenticated email address so you can verify rendering.
## Save or publish
* **Save Draft** keeps your work in progress (status stays **Draft**).
* **Publish** makes the template **Live**.
Only **Live** templates appear in the campaign template picker. If a template isn't selectable in a campaign, confirm it's **Published**, not saved as a Draft.
## Next steps
* Send it as a broadcast: [Create an email campaign](/campaigns/overview)
* Other channels: [WhatsApp template](/platform/create_whatsapp_template) · [Push template](/platform/create_push_template)
# Create a Push Notification Template
Source: https://docs.comify.io/platform/create_push_template
Build a push notification template in the Comify dashboard — title, body, action link, and image — with a live Android/iOS preview, then save it for campaigns and triggers.
Push notification templates are reusable messages delivered to a user's device. You set the title, body, tap action, and optional image, give the template a name, and save it. Campaigns and triggered communications then reference it by name.
This is a dashboard walkthrough. Screens are captured from **cloud.comify.io** → **Template Manager → Manage Templates → Push Notification**.
## Before you start: connect a provider
Open **Template Manager → Push Notification** to reach the **Push Notification Templates** list. It has a **push provider selector**, a **Status** filter, search, and **Create Template**.
If you see **"No Push Provider Connected,"** add a push provider (FCM, OneSignal, or Amazon SNS) before creating templates, then **select it from the provider selector**. The create form requires a connected provider. See [Push Providers](/channels/push/overview).
## Create a template
Click **Create Template** to open the push editor. Fill in the fields on the left; the **Notification Preview** on the right updates live.
The screens below are illustrative mockups, not live captures. Comify's push template editor sits behind a connected push provider (FCM, OneSignal, or Amazon SNS), and no provider is connected on the account used to build this documentation — see the warning above. Field names and layout are accurate; exact visual styling may differ slightly once you have a provider connected.
Enter a **Template name** (e.g. `cart_reengagement`) — the identifier used in campaigns and triggers.
An optional reference to tie the template to a campaign.
Choose the **Recipient field** — the payload field that holds the device token/target. Select a **Data Source** from the top bar first so recipient options appear.
Add targeting **Tags** in `label.value` format (e.g. `age_group.Young`). Use **Manage tags** to curate the list.
The bold heading of the notification (up to 200 characters). The toolbar offers **emoji, bold, italic, strikethrough,** and **Personalize** to insert `{{variables}}`.
```
Hey {{first_name}}, check this out!
```
The message text (up to 1024 characters), with the same formatting toolbar and **Personalize**. Devices truncate long text, so lead with the key point.
Where a tap goes — an in-app **deep link** or a **URL** (e.g. `https://example.com/page`). Use **Personalize** for per-recipient links.
Choose **No image**, **Image URL**, or **Upload image** for a rich notification.
## Preview across platforms
The **Notification Preview** shows an **Android** / **iOS** toggle and renders both the **collapsed** and **expanded** notification states, so you can confirm how the title, body, and image appear on each platform.
Keep titles short and front-load the value — the OS truncates anything too long, and the first few words are what the user sees on a locked screen.
## Save the template
Click **Save Template** in the top bar. The template appears in the Push Notification Templates list, where the **Status** filter helps you find it.
Test on real devices where possible — rendering, sound, and deep links behave differently across Android, iOS, and web.
## Best practices
Put the most important words first; the OS truncates the rest.
A notification that opens a relevant screen converts far better than one that just opens the app.
Use `{{variables}}` for names and context, but always have sensible fallbacks.
Too many pushes drive opt-outs. Reserve them for timely, relevant messages.
## Next steps
* Send it: [Create a campaign](/campaigns/overview)
* Other channels: [Email template](/platform/create_email_template) · [WhatsApp template](/platform/create_whatsapp_template)
# Create an SMS Template
Source: https://docs.comify.io/platform/create_sms_template
Build an SMS template in the Comify dashboard — message, category, and variables — with a live preview, then use it in campaigns and triggered communications.
SMS templates are reusable text messages you design once and reference by name — in [SMS campaigns](/campaigns/sms/audience) and triggered communications. This guide walks the exact dashboard flow for creating one.
This is a dashboard walkthrough. Screens are captured from **cloud.comify.io** → **Template Manager → Manage Templates → SMS**.
## Before you start: connect a provider
Open **Template Manager → SMS** to reach the **SMS Templates** list. It shows your connected SMS provider in a selector at the top, **Category** and **Status** filters, search, and **Create Template**. Existing templates list their **Category**, **Language**, **Status**, and **Last Updated**.
You need an **SMS provider** connected (e.g. Twilio, Gupshup, MSG91, Karix) before creating templates. See [SMS Providers](/channels/sms/overview).
## Create a template
Click **Create Template** to open the SMS editor. It's a single page: **Template details** on the left, a live **Preview** on the right.
Enter a name in the **Name your template** field (e.g. `order_shipped_alert`).
Names must use **lowercase letters, numbers, and underscores only** — no spaces or capital letters.
Choose the **Language** the message is written in from the dropdown (defaults to English).
Pick the **Category** that matches the message:
| Category | Use it for |
| ----------------- | ------------------------------------------------------------------------ |
| **Transactional** | Order updates, shipping alerts, account notifications tied to an action. |
| **Promotional** | Offers, discounts, announcements, marketing pushes. |
| **OTP** | One-time passcodes and login/verification codes. |
Your SMS provider and local regulations may enforce sending rules (e.g. registered sender IDs, time-of-day restrictions) based on category — Transactional and Promotional traffic are often routed differently.
Enter your text in the **Message** box (up to 512 characters). Insert dynamic values using double curly braces, or via the **Insert variable** control below the box:
```
Hi {{first_name}}, your order has shipped!
```
**Insert variable** is populated from your **Data Source**. Click **Data Source** in the top bar and select a **Payload** first — its fields then become available as `{{variables}}` and as **Recipient** options.
Click **Recipient** in the top bar and choose the payload field that holds the destination phone number (e.g. `phone_number`).
## Preview and test
As you type, the **Preview** panel on the right renders the message as a real SMS bubble, with a live character/segment count. Use **Test** in the top bar to send a real test message once a template name and provider are set.
## Publish
Click **Publish** to make the template live. Only **Live** templates are selectable in the [SMS campaign](/campaigns/sms/audience) template picker.
If **Publish** is disabled, check that the template **Name** and **Message** are both filled in — these are required fields.
## Best practices
Transactional, Promotional, and OTP traffic are often routed and rate-limited differently by carriers — pick the one that matches the content.
SMS is billed and delivered in segments (typically 160 characters per segment). Shorter messages are cheaper and render more reliably.
Give every variable a sensible fallback so a missing data point never leaves a gap in a delivered message.
Sign off with your brand or business name — SMS has no "From" display name the way email does.
## Next steps
* Send it: [Create an SMS campaign](/campaigns/sms/audience)
* Other channels: [Email template](/platform/create_email_template) · [WhatsApp template](/platform/create_whatsapp_template) · [Push template](/platform/create_push_template)
# Create a WhatsApp Template
Source: https://docs.comify.io/platform/create_whatsapp_template
Set up a WhatsApp message template in the Comify dashboard through the 3-step wizard, add components and buttons, and submit it to Meta for approval.
WhatsApp templates are pre-formatted messages used to start conversations with customers. **Every WhatsApp template must be approved by WhatsApp (Meta) before it can send.** In Comify you build the template through a 3-step wizard and submit it for review from one place.
This is a dashboard walkthrough. Screens are captured from **cloud.comify.io** → **Template Manager → Manage Templates → WhatsApp**.
## Before you start: connect an account
Open **Template Manager → WhatsApp** to reach the **WhatsApp Templates** list. It shows a **provider/account selector**, **Category** and **Status** filters, and columns for **Template Name, Provider, Language, Category, Status,** and **Last Updated**.
If you see **"No WhatsApp Account Connected,"** you must add a WhatsApp account (WABA) before creating templates. Once connected, **select the account from the selector** at the top of the list — the create flow needs it. See [WhatsApp Providers](/channels/whatsapp/overview).
## Step 1 — Set up template
Click **Create Template** to open the wizard. The stepper shows **Set up template → Edit template → Submit for review**.
Choose the **Category** that matches your message, then the **message type**.
**Category** — Meta reviews the template against this, so pick the one that matches the actual content:
| Category | Use it for |
| ------------------ | ------------------------------------------------------------------------------------------- |
| **Marketing** | Promotions, offers, announcements, newsletters, re-engagement. |
| **Utility** | Transactional updates tied to an action — order confirmations, shipping updates, reminders. |
| **Authentication** | One-time passcodes and login verification. |
**Message type** — **Default** (message with media + CTA buttons) or **Carousel** (a swipeable set of cards). Additional types (**Catalog**, **Flows**, **Order Details**, **Calling permissions request**) are marked *Coming soon*.
A live **Template Preview** on the right updates as you build. Click **Continue**.
## Step 2 — Edit template
This is where you write the template and assemble its components.
Enter a **template name** (up to 512 characters) and **select the language**.
WhatsApp requires names to be lowercase with only letters, numbers, and underscores — for example `order_shipped` or `otp_login`.
Choose a header type: **None**, **Text**, **Image**, **Video**, or **Document**. A text header supports one variable; media headers attach an image, video, or file.
Enter your message (up to 1024 characters). The toolbar offers **emoji, bold, italic, strikethrough,** and **code**, plus **Add variable** to insert placeholders for personalization.
A short line of fixed text (up to 60 characters), e.g. "Reply STOP to opt out." Footers can't contain variables.
Click **Add button** (up to 10). Button types:
| Button | What it does |
| --------------------- | -------------------------------------------------------------- |
| **Custom** | A quick-reply button that sends its label back as the reply. |
| **Visit website** | Opens a URL (can end with a variable for per-recipient links). |
| **Call on WhatsApp** | Starts a WhatsApp call. |
| **Call phone number** | Dials a phone number. |
| **Complete Flow** | Launches a WhatsApp Flow experience. |
| **Copy offer code** | Lets the recipient copy a promo code. |
Provide realistic **sample values** for any variables and media so the preview — and Meta's reviewers — see representative content. Vague or empty samples are a common rejection reason.
## Step 3 — Submit for review
When the body and components look right (confirm with the live preview), continue to **Submit for review**. Comify sends the template to WhatsApp (Meta), and the **Status** column on the list tracks its state.
| Status | Meaning |
| ------------ | -------------------------------------------------- |
| **Pending** | Submitted and awaiting Meta's review. |
| **Approved** | Live and ready to send. |
| **Rejected** | Not approved — fix the flagged issue and resubmit. |
Only **Approved** templates can be sent or selected in a campaign. Editing an approved template's content generally requires resubmission.
## Best practices
The biggest factor in approval. Promotions → Marketing, updates → Utility, codes → Authentication.
Only message customers who consented; add an opt-out line in the footer where appropriate.
Short, single-CTA messages perform best and clear review faster.
Use the live preview to catch layout and variable issues before review.
## Next steps
* Send it: [Create a campaign](/campaigns/overview)
* Other channels: [Email template](/platform/create_email_template) · [Push template](/platform/create_push_template)
# Quickstart
Source: https://docs.comify.io/quickstart
Start building your own communication infrastructure
To integrate Comify into your application, you'll first need to create a Comify account and set up a service provider in the Comify Dashboard. Follow these steps to get started:
## Getting Started
[Create a Comify account](https://www.comify.io/sign-up) on Comify or [Sign In](https://app.comify.io/login) if you already have one.
Choose the sdk that best suits your use case and follow the SDK installation instructions:
```bash theme={null}
npm install comify-node
```
```bash theme={null}
coming soon
```
```bash theme={null}
coming soon
```
```bash theme={null}
coming soon
```
```bash theme={null}
coming soon
```
```bash theme={null}
coming soon
```
```bash theme={null}
coming soon
```
To access Comify, set the `COMIFY_API_KEY` in your environment variables. You can find your API key in the developer section of your Comify dashboard.
For security reasons, it’s best to store your API key as an environment variable.
```bash theme={null}
COMIFY_API_KEY=YOUR_API_KEY
```
In order to send communications, you’ll need to add a service provider. Follow the instructions for your service provider of choice
* [Whatsapp](/channels/whatsapp/overview)
* [Email](/channels/email/overview)
* [SMS](/channels/sms/overview)
* [Push](/channels/push/overview)
* [Chat](/channels/chat/overview)
In order to send communications, you’ll need to add standart templates for each service provider. Follow the instructions for your service provider of choice
* [Email Template](/platform/create_email_template)
* [Whatsapp Template](/platform/create_whatsapp_template)
* [Push Template](/platform/create_push_template)
* [SMS Template](/channels/sms/overview)
* [Chat Template](/channels/chat/overview)
Choose the sdk that best suits your use case and follow the SDK installation instructions:
```bash theme={null}
const { Comify } = require('comify-node')
const comm = new Comify('COMIFY_API_KEY')
comm.triggerComm('template_name',{
"order_id" : "123455",
"billing" : {
"customerEmail" : "contact@comify.io",
"customerName" : "Comify"
}
}, 'email')
```
```bash theme={null}
coming soon
```
```bash theme={null}
coming soon
```
```bash theme={null}
coming soon
```
```bash theme={null}
coming soon
```
```bash theme={null}
coming soon
```
```bash theme={null}
coming soon
```
In case you have any questions or feedback, you can contact us on [support@comify.io](mailto:support@comify.io) or join our community of developers and users on [Discord](https://discord.gg/E42mSUcm).
Now that you triggered your first communication, learn more about the advanced features and concepts of Comify.