{"id":17110529,"url":"https://github.com/stephenyeargin/hubot-createsend","last_synced_at":"2025-04-13T03:28:37.835Z","repository":{"id":27632867,"uuid":"31117394","full_name":"stephenyeargin/hubot-createsend","owner":"stephenyeargin","description":"📧🤖 Manage your Campaign Monitor lists and campaigns","archived":false,"fork":false,"pushed_at":"2025-02-23T04:33:25.000Z","size":1607,"stargazers_count":2,"open_issues_count":0,"forks_count":1,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-04-02T04:46:19.647Z","etag":null,"topics":["campaign-monitor","createsend","email-marketing","hacktoberfest","hubot","hubot-scripts"],"latest_commit_sha":null,"homepage":"https://www.npmjs.com/package/hubot-createsend","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/stephenyeargin.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2015-02-21T06:24:17.000Z","updated_at":"2025-02-23T04:33:10.000Z","dependencies_parsed_at":"2023-12-17T06:22:46.849Z","dependency_job_id":"14473dc5-9178-4e85-b73d-97635774a92c","html_url":"https://github.com/stephenyeargin/hubot-createsend","commit_stats":{"total_commits":89,"total_committers":4,"mean_commits":22.25,"dds":0.2808988764044944,"last_synced_commit":"9a01ce352b2ab7220665851677b51643dfeab594"},"previous_names":[],"tags_count":24,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/stephenyeargin%2Fhubot-createsend","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/stephenyeargin%2Fhubot-createsend/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/stephenyeargin%2Fhubot-createsend/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/stephenyeargin%2Fhubot-createsend/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/stephenyeargin","download_url":"https://codeload.github.com/stephenyeargin/hubot-createsend/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248659250,"owners_count":21141102,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["campaign-monitor","createsend","email-marketing","hacktoberfest","hubot","hubot-scripts"],"created_at":"2024-10-14T16:27:08.138Z","updated_at":"2025-04-13T03:28:37.816Z","avatar_url":"https://github.com/stephenyeargin.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Hubot CreateSend (Campaign Monitor)\n\n[![npm version](https://badge.fury.io/js/hubot-createsend.svg)](http://badge.fury.io/js/hubot-createsend) [![Node CI](https://github.com/stephenyeargin/hubot-createsend/actions/workflows/nodejs.yml/badge.svg)](https://github.com/stephenyeargin/hubot-createsend/actions/workflows/nodejs.yml)\n\nManage your Campaign Monitor account via Hubot\n\n## Getting Started\n\nCampaign Monitor has provided [this helpful article](http://help.campaignmonitor.com/topic.aspx?t=206) for locating the necessary credentials in your account. This particular module is built around the idea of subscribing/unsubscribing users _one particular email list_ and viewing the latest campaigns for _one particular client_.\n\nIt is heavily inspired (and borrows some code) from the [hubot-mailchimp](https://github.com/hubot-scripts/hubot-mailchimp) module.\n\n## Installation\n\nIn your hubot repository, run:\n\n`npm install hubot-createsend --save`\n\nThen add **hubot-createsend** to your `external-scripts.json`:\n\n```json\n[\"hubot-createsend\"]\n```\n\n### Configuration\n\n| Environment Variable   | Required? | Description                             |\n| ---------------------- | :-------: | ----------------------------------------|\n| `CREATESEND_API_KEY`   | Yes       | API key of account or particular client |\n| `CREATESEND_CLIENT_ID` | Yes       | Unique identifier for desired client\n| `CREATESEND_LIST_ID`   | Yes       | Unique identifier for desired mailing list |\n\n## Usage\n\n### Get latest campaign\n\nReturns the the statistics for the last sent campaign. You can use `hubot cm ...` if you prefer to use a few less keystrokes. \n\n```\nalice\u003e @hubot createsend\nhubot\u003e Last campaign \"Campaign One\" was sent to 1000 subscribers (298 opened, 132 clicked, 43 unsubscribed)\n```\n\n### Subscribe an email\n\nAdd an email address to the list.\n\n```\nalice\u003e @hubot createsend subscribe johndoe@example.com\nhubot\u003e @alice Subscribing johndoe@example.com ...\nhubot\u003e Subscribed johndoe@example.com.\n```\n\n### Unsubscribe an email\n\nRemove an email address from the list.\n\n```\nalice\u003e @hubot createsend unsubscribe johndoe@example.com\nhubot\u003e @alice Unsubscribing johndoe@example.com ...\nhubot\u003e Unsubscribed johndoe@example.com.\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fstephenyeargin%2Fhubot-createsend","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fstephenyeargin%2Fhubot-createsend","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fstephenyeargin%2Fhubot-createsend/lists"}