Skip to content
Snippets Groups Projects

Do Not SMS and Wrong Number Action Handler

Merged asha requested to merge dev into master
3 unresolved threads

Merge request reports

Loading
Loading

Activity

Filter activity
  • Approvals
  • Assignees & reviewers
  • Comments (from bots)
  • Comments (from users)
  • Commits & branches
  • Edits
  • Labels
  • Lock status
  • Mentions
  • Merge request status
  • Tracking
101 id: contact['external_id']
102 };
103
104 return await post(
105 config,
106 "Contact",
107 "create",
108 json
109 );
110 break;
111
112 case 'wrong_number':
113
114 var json = {
115 sequential: 1,
116 id: coustom_field['phone_id'],
  • asha added 1 commit

    added 1 commit

    • f00fddfe - Documentation for integration with civicrm

    Compare with previous version

  • assigned to @jtwyman

  • John Twyman assigned to @seamuslee and unassigned @jtwyman

    assigned to @seamuslee and unassigned @jtwyman

  • 10 To connect with CiviCRM you should include CIVICRM_API_KEY, CIVICRM_SITE_KEY, CIVICRM_DOMAIN in the .env file:
    11
    12 - CIVICRM_API_KEY: API Key is the API of a contact/user in your CiviCRM installation, More info [here](https://docs.civicrm.org/sysadmin/en/latest/setup/api-keys).
    13 - CIVICRM_SITE_KEY: SITE key can be found in your CiviCRM's civicrm.settings.php file.
    14 - CIVICRM_DOMAIN: CIVICRM_DOMAIN is the full URL of the CiviCRM API interface. You can get it from the CiviCRM dashboard > Help > Developer > API Explorer.
    15
    16 #### CiviCRM contact loader
    17
    18 This extension helps to load contact from CiviCRM instance to Spoke instance. These are the step should be followed:
    19
    20 1. Get the civicrm contact loader folder from [here](https://www.google.com/url?q=https://lab.civicrm.org/asha/spoke-integration/-/tree/master/src/extensions/contact-loaders/civicrm&sa=D&source=editors&ust=1629657691875000&usg=AOvVaw2xEFAQqyN54_R46Vyuga5R) and paste inside spoke/src/extensions/contact-loaders folder.
    21 2. Enable the contact loader by adding ‘civicrm’ for CONTACT_LOADERS in the .env file.
    22
    23 Example: CONTACT_LOADERS=csv-upload,test-fakedata,civicrm
    24
    25 3. Run ‘Yarn dev’ to start the development.
  • 5 - CiviCRM buildkit: https://docs.civicrm.org/dev/en/latest/tools/buildkit
    6 - Spoke: https://github.com/MoveOnOrg/Spoke/blob/main/docs/HOWTO_DEVELOPMENT_LOCAL_SETUP.md
    7
    8 #### Configure Spoke env vars
    9
    10 To connect with CiviCRM you should include CIVICRM_API_KEY, CIVICRM_SITE_KEY, CIVICRM_DOMAIN in the .env file:
    11
    12 - CIVICRM_API_KEY: API Key is the API of a contact/user in your CiviCRM installation, More info [here](https://docs.civicrm.org/sysadmin/en/latest/setup/api-keys).
    13 - CIVICRM_SITE_KEY: SITE key can be found in your CiviCRM's civicrm.settings.php file.
    14 - CIVICRM_DOMAIN: CIVICRM_DOMAIN is the full URL of the CiviCRM API interface. You can get it from the CiviCRM dashboard > Help > Developer > API Explorer.
    15
    16 #### CiviCRM contact loader
    17
    18 This extension helps to load contact from CiviCRM instance to Spoke instance. These are the step should be followed:
    19
    20 1. Get the civicrm contact loader folder from [here](https://www.google.com/url?q=https://lab.civicrm.org/asha/spoke-integration/-/tree/master/src/extensions/contact-loaders/civicrm&sa=D&source=editors&ust=1629657691875000&usg=AOvVaw2xEFAQqyN54_R46Vyuga5R) and paste inside spoke/src/extensions/contact-loaders folder.
  • asha added 1 commit

    added 1 commit

    Compare with previous version

  • asha added 2 commits

    added 2 commits

    • e2f4d5d5 - Fix errors and improve contact loading results
    • ff2c1b9d - Merge branch 'dev' into 'dev'

    Compare with previous version

  • asha mentioned in commit 70df7088

    mentioned in commit 70df7088

  • merged

  • Please register or sign in to reply
    Loading