- Home [object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
- Manage types
- Global context and isolation
- Manage apps
- Batch actions with app items
- Manage external services
- Scripts in widgets
- Web components
- Access permissions
- Getting started with processes
- Getting started with signatures
- Getting started with file previews
- Getting started with the organizational chart
- Getting started with users and groups
-
Getting started with the
Table data type - Dynamic calculation of event type
- Use cases
-
API
- Object types
- Data types
- Global constants
- Work with apps
- Web requests
- Access permissions
- Document flow
- Live Chats
- “Code” widget
- Signatures
- Business calendars
- Integration with IP telephony
-
Integration with email marketing services
- CRM_Marketing_ActionType
- CRM_Marketing_CampaignStatus
- CRM_Marketing_CampaignType
- CRM_Marketing_DeliveryStatus
- CRM_Marketing_SubscriberStatus
- CRM_Marketing_CampaignStats
- CRM_Marketing_CreateCampaignRequest
- CRM_Marketing_CreateCampaignResponse
- CRM_Marketing_ImportTemplate
- CRM_Marketing_UnsubscribeAction
- CRM_Marketing_UpdateCampaignAction
- CRM_Marketing_UpdateCampaignStatsAction
- CRM_Marketing_UpdateDeliveryStatusAction
- CRM_Marketing_WebhookResult
- CRM_Marketing_Action
Update email campaign status action
Action that updates the statistics for an email campaign when the delivery status of emails changes.
function CRM_Marketing_ParseWebhookRequest(request: FetchRequest): CRM_Marketing_WebhookResult { const stats: CRM_Marketing_CampaignStats = {}; ... // Event from the email service indicating that an email has been sent stats.sent++; ... // Event from the email service indicating a click on a link in the email stats.clicked++; ... return { actions: [ // Updated the campaign statistics with identifier '1000' { type: CRM_Marketing_ActionType.UpdateCampaignStats, externalId: '1000', statistics: stats, }, ]; } }
Hierarchy
Properties
externalId
ID of the email campaign in the email marketing service.
statistics
Email campaign statistics.
type
Action type.
Properties