Skip to content

Commit cade419

Browse files
committed
prose review 3
1 parent b76c16f commit cade419

File tree

2 files changed

+14
-14
lines changed

2 files changed

+14
-14
lines changed

docs/campaigns/importing_campaigns.rst

Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ Import mechanics
3939
During the import process, Mautic performs a comprehensive analysis of the data to import:
4040

4141
- Checks that the logged in User has the correct permissions to import
42-
- Identifies required entities for Campaign functionality
42+
- Identifies required entities for the Campaign to function
4343
- Validates if a Campaign template depends on an external Plugin:
4444

4545
* The import function verifies Plugin installation
@@ -51,15 +51,15 @@ During the import process, Mautic performs a comprehensive analysis of the data
5151
- Validates for potential ID conflicts in imported entities
5252
- Where conflicts exist, provides options to:
5353

54-
* Update existing entities (allowing Administrators to update existing Campaigns)
54+
* Update existing entities, allowing Administrators to update existing Campaigns
5555
* Create new entities, using a new ID
5656

5757
- **Automatic Data Mapping**
5858
* Mautic intelligently maps imported data to the correct locations
5959
* Creates any necessary dependent entities automatically
6060

6161
- **Campaign Activation**
62-
* After successful import, the campaign remains inactive by default, so that you stay in control
62+
* After successful import, the Campaign remains inactive by default, so that you stay in control
6363
* Navigate to the Campaigns list to activate imported Campaigns
6464
.. tip::
6565
To activate the imported Campaign:
@@ -75,7 +75,7 @@ To activate the imported Campaign:
7575
Importing via the command line
7676
------------------------------
7777

78-
You can import campaigns using the Mautic command-line console:
78+
You can import Campaigns using the Mautic command-line console:
7979

8080
.. code-block:: bash
8181
@@ -84,37 +84,37 @@ You can import campaigns using the Mautic command-line console:
8484
--file=/tmp/entity_data.zip \
8585
--user=<user_id>
8686
87-
Command Parameters
87+
Command parameters
8888
******************
8989

9090
- ``--entity=campaign``
9191
* Specifies the type of entity being imported
92-
* In this case, importing a campaign
92+
* In this case, importing a Campaign
9393

9494
- ``--file=/tmp/entity_data.zip``
95-
* Path to the ZIP file containing the campaign data
95+
* Path to the ZIP file containing the Campaign data
9696
* Must be a valid export file created from a Mautic export
9797

9898
- ``--user=<user_id>``
9999
* ID of the user performing the import, which is logged against the audit trail
100100
* Ensures proper access and permissions for the import process
101101

102102
.. important::
103-
- Ensure the ZIP file is a valid Mautic campaign export
104-
- The specified user must have appropriate import permissions
103+
- Ensure the ZIP file is a valid Mautic Campaign export
104+
- The specified User must have appropriate import permissions
105105
- Verify the file path is correct before running the command
106106

107107
Importing using the Mautic API
108108
------------------------------
109109

110-
You can import campaigns programmatically using the Mautic API:
110+
You can Import Campaigns programmatically using the Mautic API:
111111

112112
Curl Example (ZIP File)
113113
***********************
114114

115115
.. code-block:: bash
116116
117-
curl -X POST 'https://{your-mautic-domain}/api/campaigns/import' \
117+
curl -X POST 'https://{your-domain}/api/campaigns/import' \
118118
-H 'Authorization: Bearer YOUR_ACCESS_TOKEN' \
119119
-H 'Content-Type: multipart/form-data' \
120120
-F 'file=@/path/to/campaign_export.zip'
@@ -127,7 +127,7 @@ Python Example (JSON Data)
127127
import requests
128128
129129
# API Endpoint
130-
url = 'https://{your-mautic-domain}/api/campaigns/import'
130+
url = 'https://{your-domain}/api/campaigns/import'
131131
132132
# Authentication
133133
headers = {
@@ -166,7 +166,7 @@ Mautic supports two primary methods of API-based campaign import:
166166
- Useful for creating new campaigns or updating existing ones
167167

168168
.. important::
169-
- Replace ``{your-mautic-domain}`` with your actual Mautic instance domain
169+
- Replace ``{your-domain}`` with your actual Mautic instance domain
170170
- Ensure you have a valid access token by accessing the API Credentials section within Mautic's settings.
171171
- The imported campaign must comply with Mautic's campaign structure
172172
- Verify import permissions and data integrity

docs/configuration/command_line_interface.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -126,7 +126,7 @@ These are the commands you may need to use in relation to your Mautic instance.
126126
- Analyze Custom Fields table and return table or file with results. See :doc:`/contacts/custom_fields`.
127127
-
128128
* - ``mautic:import``
129-
- Imports contacts from a CSV file
129+
- Imports Contacts from a CSV file
130130
- If the CSV import is configured to run in background then this command will pick up the pending import jobs and imports the data from CSV files to Mautic.
131131
-
132132
* - ``mautic:integration:fetchleads``

0 commit comments

Comments
 (0)