-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
2ef254e
commit 32c5e29
Showing
38 changed files
with
6,252 additions
and
430 deletions.
There are no files selected for viewing
Binary file not shown.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Empty file.
Binary file added
BIN
+617 Bytes
email_marketing/monthly_to_active_users/__pycache__/write_emails.cpython-37.pyc
Binary file not shown.
30 changes: 30 additions & 0 deletions
30
email_marketing/monthly_to_active_users/featured_text_190507.html
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
|
||
<p>Spring is here and Sonlet is too! We're so excited to welcome Spring again, and with more sunshine and less snow and rain, we've ramped up our game here at Sonlet. Our businesses change along with the seasons ... people stop wearing sweaters and look for short sleeves and dresses, they stop using Facebook and start texting more. Here at Sonlet, we track all these trends and work hard to make sure that you can rely on our software to support your businesses, even when things change. So here are a few things that we think you'll love about Sonlet this Spring.</p> | ||
|
||
<h4>Post to multiple Sonlet Parties at Once!</h4> | ||
<p>A couple of months ago, we gathered some feedback about how Sonlet Parties have been working, several folks voiced that they'd love to be able to list items in multiple Sonlet parties at once. Its here. Check out the full description of this enhancement below.</p> | ||
|
||
<h4>Shipping labels enhancements</h4> | ||
<p>Lots more details on these below, but here's a quick synopsis:</p> | ||
<ul> | ||
<li>APO address support for military addresses</li> | ||
<li>Bless CSV Upload</li> | ||
<li>Custom package sizes for shipping labels</li> | ||
<li>Request signatures, shipment update emails, and Insurance</li> | ||
<li>Bulk labels download</li> | ||
<li>Auto address complete on Shipping page</li> | ||
</ul> | ||
|
||
<h4>Unlike items</h4> | ||
<p>You can now go to the liked items list either on the Shop dashboard or the All Liked Items page and click the like button and it will unlike the item. Please let your shoppers know about this new functionality as well... especially since we know that many of them use the Like Items feature to keep track of the stuff they have their eye on buying from you.</p> | ||
|
||
<h4>Text message marketing integrations</h4> | ||
<p>We've added two text message marketing integrations to Sonlet on our <a href="https://sonlet.com/apps/" target="_blank">apps page</a> that are worth taking a look at if you're trying to reengage and reinvigorate your marketing. Text message marketing is the latest trend that many small and large businesses are using to keep an edge over the competition as the email inbox continues to get segmented and paired back by the gmail, yahoo mail, and outlook. If you're looking to do outbound text message marketing to notify your customers about upcoming sales or when you go live, then check out <i>Text Message Alerts</i>. They've got a fantastic integration that will make it easy to include links to your inventory items or parties right in your email blasts. If, on the other hand, you're always inundated with messages on Facebook messenger or your personal cell phone number, and you'd like a little help to automate your customer support, check out <i>Shout</i>. They have a fantastic little text and facebook messenger bot that will change your business for the better.</p> | ||
|
||
<h4>IN TESTING</h4> | ||
|
||
<p>We're testing (and perfecting) two really big features: Post to the Wall and Sonlet Payments. Here's the latest for those that can't wait to try them out:</p> | ||
<ul> | ||
<li><b>Sonlet Social Post to the Wall</b> —> We're really excited to see this feature take Sonlet Social to the next level. In the digital world that we live in our businesses depend on selling on Social Media. With this feature, you'll be able to schedule and post to the wall of your Facebook Groups and Facebook Pages right from Sonlet Social. We're planning to add support for Instagram (stay tuned), and you'll be able to easily post inventory items, party page links, and rewards cards links. For many of you, we hope this will make it much more convenient to get your Sonlet Inventory over to Social Media, and for others we'll save you $20 or more on social posting software subscriptions.</li> | ||
<li><b>Sonlet Payments</b>—> Sonlet Payments will allow you to collect payment with Sonlet, either by sending an invoice after a customer has claimed or by enabling checkout with a card on the Done Shopping page. Payments will be optional, but to give you a reason to switch over we've built Sales Tax calculation and Sales Tax autofiling right into Sonlet Payments to save you time and money, and it includes an easier way to collect shipping and postage fees. Plus, payouts will be made directly to your bank account daily without any fees (unlike Venmo and Paypal).</li> | ||
</ul> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,72 @@ | ||
from customerio import CustomerIO | ||
import requests | ||
import json | ||
|
||
|
||
|
||
#cio.identify(id='925066', newsletter_items_delivered='79726,87666,87686,87693,650,701,716,718,100331,100340,100362,90607,99176,99177,99178,755,787,807,810') | ||
|
||
#for cio_id,new_attribute in fixes: | ||
# print(cio_id + ': ' + new_attribute) | ||
|
||
def rollback_sonlet(): | ||
cio = CustomerIO('6d30b69c3d9afe45835b', 'd3951fc08db29107a260') | ||
|
||
fixes = { | ||
'970414':'100331,100340,100362,90607,99176,99177,99178,755,787,807,810', | ||
'59222':'79726,87666,87686,87693,650,701,716,718,100331,100340,100362,90607,99176,99177,99178,755,787,807,810,,595,612,684,742', | ||
'136314':'79726,87666,87686,87693,650,701,716,718,100331,100340,100362,90607,99176,99177,99178,755,787,807,810,,595,612,684,742', | ||
'36477':'79726,87666,87686,87693,650,701,716,718,69622,69978,70114,73090,595,612,682,684,100331,100340,100362,90607,99176,99177,99178,755,787,807,810,,533,543,585,742', | ||
'103532':'79726,87666,87686,87693,650,701,716,718,100331,100340,100362,90607,99176,99177,99178,755,787,807,810,,595,612,684,742', | ||
'2549':'79726,87666,87686,87693,650,701,716,718,100331,100340,100362,90607,99176,99177,99178,755,787,807,810,,595,612,684,742', | ||
'383882':'79726,87666,87686,87693,650,701,716,718,100331,100340,100362,90607,99176,99177,99178,755,787,807,810,,595,612,684,742', | ||
'125421':'79726,87666,87686,87693,650,701,716,718,69622,69978,70114,73090,595,612,682,684,100331,100340,100362,90607,99176,99177,99178,755,787,807,810,,533,543,585,742', | ||
'470544':'79726,87666,87686,87693,650,701,716,718,100331,100340,100362,90607,99176,99177,99178,755,787,807,810', | ||
'28463':'79726,87666,87686,87693,650,701,716,718,100331,100340,100362,90607,99176,99177,99178,755,787,807,810,,595,612,684,742', | ||
'93281':'100331,100340,100362,90607,99176,99177,99178,755,787,807,810', | ||
'1':'79726,87666,87686,87693,650,701,716,718,69622,69978,70114,73090,595,612,682,684,100331,100340,100362,90607,99176,99177,99178,755,787,807,810,,533,543,585,742', | ||
'5':'79726,87666,87686,87693,650,701,716,718,69622,69978,70114,73090,595,612,682,684,100331,100340,100362,90607,99176,99177,99178,755,787,807,810,,533,543,585,742' | ||
} | ||
|
||
for cio_id,new_attribute in fixes.items(): | ||
cio.identify(id=cio_id, newsletter_items_delivered=new_attribute) | ||
print('cio_id: ' + cio_id) | ||
print('new_attribute: ' + new_attribute) | ||
|
||
def rollback_piu(): | ||
cio = CustomerIO('0dfefb1081f03692b8ce', '9d368b1ddbe561236ab0') | ||
|
||
fixes = { | ||
'1':'4a37a,4be72,0ea0a,ef3b6,4ed57,8137e,3d6c7,e9298,', | ||
'95':'4a37a,4be72,0ea0a,ef3b6', | ||
'3':'4a37a,4be72,0ea0a,ef3b6,,4ed57,8137e,3d6c7,e9298,ffaa5,fe8d5,f3d66a3bf2,e2149,afdc4,e75c1,a3bf2,51d92,b3061,290a3,', | ||
'7':'4a37a,4be72,0ea0a,ef3b6,4ed57,8137e,3d6c7,e9298,', | ||
'9':'4a37a,4be72,0ea0a,ef3b6,4ed57,8137e,3d6c7,e9298,', | ||
'62':'4a37a,4be72,0ea0a,ef3b6,4ed57,8137e,3d6c7,e9298', | ||
'137':'4a37a,4be72,0ea0a,ef3b6,4ed57,8137e,3d6c7,e9298,', | ||
'295':'4a37a,4be72,0ea0a,ef3b6,', | ||
'2':'4a37a,4be72,0ea0a,ef3b6,', | ||
'10':'4a37a,4be72,0ea0a,ef3b6,4ed57,8137e,3d6c7,e9298,', | ||
'17':'4a37a,4be72,0ea0a,ef3b6,', | ||
'5826':'4a37a,4be72,0ea0a,ef3b6,4ed57,8137e,3d6c7,e9298,', | ||
'6349':'4a37a,4be72,0ea0a,ef3b6,' | ||
} | ||
|
||
for cio_id,new_attribute in fixes.items(): | ||
cio.identify(id=cio_id, newsletter_items_delivered=new_attribute) | ||
print('cio_id: ' + cio_id) | ||
print('new_attribute: ' + new_attribute) | ||
|
||
|
||
def get_cio_segment_members(site_id, api_key, segment_id): | ||
auth = (site_id, api_key) | ||
url = 'https://api.customer.io/v1/api/segments/' + str(segment_id) + '/customer_count' | ||
headers = {'Content-Type': 'application/json'} | ||
# Send POST request to trigger API triggered campaign | ||
r = requests.get(url=url, auth=auth, headers=headers) | ||
|
||
return r.text | ||
|
||
#print(get_cio_segment_members('0dfefb1081f03692b8ce', '9d368b1ddbe561236ab0', 43)) | ||
rollback_piu() | ||
|
Oops, something went wrong.